Torque3D/Engine
Azaezel 1a89d95919 exposes getters for typevalidators.
example usage

FRangeValidator gravCoefFValidator(-10.f, 10.f);
   addFieldV( "gravityCoefficient", TYPEID< F32 >(), Offset(gravityCoefficient, ParticleData), &gravCoefFValidator,
      "Strength of gravity on the particles." ); <- clamps gravity within a -10 to 10 range when evaluating scriptt-set changes

mClamp(gravityCoefficient,gravCoefFValidator.getMin(),gravCoefFValidator.getMax()) for any calculations done on the source side would do the same at the point that is called, with a singularl lookup spot for the range.
2018-01-16 14:14:57 -06:00
..
bin style.css changes for Project Manager modules 2013-05-01 17:08:43 -04:00
lib Merge pull request #2151 from Areloch/Library_Trimming 2018-01-09 01:43:33 -06:00
source exposes getters for typevalidators. 2018-01-16 14:14:57 -06:00