mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31: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
|
|
@ -102,7 +102,7 @@ void PointLight::initPersistFields()
|
|||
docsURL;
|
||||
addGroup( "Light" );
|
||||
|
||||
addField( "radius", TypeF32, Offset( mRadius, PointLight ), "Controls the falloff of the light emission" );
|
||||
addFieldV( "radius", TypeRangedF32, Offset( mRadius, PointLight ), &CommonValidators::PositiveFloat, "Controls the falloff of the light emission" );
|
||||
|
||||
endGroup( "Light" );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue