mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
fill in the validated variables
This commit is contained in:
parent
fa760fa746
commit
f633ef3a3d
184 changed files with 1359 additions and 1216 deletions
|
|
@ -639,7 +639,7 @@ void SceneObject::setHidden( bool hidden )
|
|||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
IRangeValidator soMountRange(-1, SceneObject::NumMountPoints);
|
||||
void SceneObject::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
|
|
@ -685,7 +685,7 @@ void SceneObject::initPersistFields()
|
|||
"@brief PersistentID of object we are mounted to.\n\n"
|
||||
"Unlike the SimObjectID that is determined at run time, the PersistentID of an object is saved with the level/mission and "
|
||||
"may be used to form a link between objects." );
|
||||
addField( "mountNode", TypeS32, Offset( mMount.node, SceneObject ), "Node we are mounted to." );
|
||||
addFieldV( "mountNode", TypeRangedS32, Offset( mMount.node, SceneObject ),&soMountRange, "Node we are mounted to." );
|
||||
addField( "mountPos", TypeMatrixPosition, Offset( mMount.xfm, SceneObject ), "Position we are mounted at ( object space of our mount object )." );
|
||||
addField( "mountRot", TypeMatrixRotation, Offset( mMount.xfm, SceneObject ), "Rotation we are mounted at ( object space of our mount object )." );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue