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
|
|
@ -175,16 +175,16 @@ void GuiTSCtrl::initPersistFields()
|
|||
docsURL;
|
||||
addGroup( "Camera" );
|
||||
|
||||
addField("cameraZRot", TypeF32, Offset(mCameraZRot, GuiTSCtrl),
|
||||
addFieldV("cameraZRot", TypeRangedF32, Offset(mCameraZRot, GuiTSCtrl), &CommonValidators::DegreeRange,
|
||||
"Z rotation angle of camera." );
|
||||
addField("forceFOV", TypeF32, Offset(mForceFOV, GuiTSCtrl),
|
||||
addFieldV("forceFOV", TypeRangedF32, Offset(mForceFOV, GuiTSCtrl), &CommonValidators::PosDegreeRange,
|
||||
"The vertical field of view in degrees or zero to use the normal camera FOV." );
|
||||
|
||||
endGroup( "Camera" );
|
||||
|
||||
addGroup( "Rendering" );
|
||||
|
||||
addField( "reflectPriority", TypeF32, Offset( mReflectPriority, GuiTSCtrl ),
|
||||
addFieldV( "reflectPriority", TypeRangedF32, Offset( mReflectPriority, GuiTSCtrl ), &CommonValidators::PositiveFloat,
|
||||
"The share of the per-frame reflection update work this control's rendering should run.\n"
|
||||
"The reflect update priorities of all visible GuiTSCtrls are added together and each control is assigned "
|
||||
"a share of the per-frame reflection update time according to its percentage of the total priority value." );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue