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
|
|
@ -1322,7 +1322,7 @@ void Camera::initPersistFields()
|
|||
"Apply smoothing (acceleration and damping) to camera rotations." );
|
||||
addProtectedField( "mass", TypeF32, Offset(mMass, Camera), &_setNewtonField, &defaultProtectedGetFn,
|
||||
"The camera's mass (Newton mode only). Default value is 10." );
|
||||
addProtectedField( "drag", TypeF32, Offset(mDrag, Camera), &_setNewtonField, &defaultProtectedGetFn,
|
||||
addProtectedFieldV( "drag", TypeRangedF32, Offset(mDrag, Camera), &_setNewtonField, &defaultProtectedGetFn, &CommonValidators::PositiveNonZeroFloat,
|
||||
"Drag on camera when moving (Newton mode only). Default value is 2." );
|
||||
addProtectedField( "force", TypeF32, Offset(mFlyForce, Camera), &_setNewtonField, &defaultProtectedGetFn,
|
||||
"Force applied on camera when asked to move (Newton mode only). Default value is 500." );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue