mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +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
|
|
@ -69,11 +69,11 @@ void afxT3DSpotLightData::initPersistFields()
|
|||
docsURL;
|
||||
addGroup( "Light" );
|
||||
|
||||
addField( "range", TypeF32, Offset( mRange, afxT3DSpotLightData ),
|
||||
addFieldV( "range", TypeRangedF32, Offset( mRange, afxT3DSpotLightData ), &CommonValidators::PositiveFloat,
|
||||
"...");
|
||||
addField( "innerAngle", TypeF32, Offset( mInnerConeAngle, afxT3DSpotLightData ),
|
||||
addFieldV( "innerAngle", TypeRangedF32, Offset( mInnerConeAngle, afxT3DSpotLightData ), &CommonValidators::DegreeRangeQuarter,
|
||||
"...");
|
||||
addField( "outerAngle", TypeF32, Offset( mOuterConeAngle, afxT3DSpotLightData ),
|
||||
addFieldV( "outerAngle", TypeRangedF32, Offset( mOuterConeAngle, afxT3DSpotLightData ), &CommonValidators::DegreeRangeQuarter,
|
||||
"...");
|
||||
|
||||
endGroup( "Light" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue