Torque3D Documentation / _generateds / FRangeValidator

FRangeValidator

Engine/source/console/typeValidators.h

Floating point min/max range validator.

More...

Private Attributes

Public Functions

FRangeValidator(F32 minValue, F32 maxValue)
validateType(SimObject * object, void * typePtr)

validateType is called for each assigned value on the field this validator is attached to.

Detailed Description

Floating point min/max range validator.

Private Attributes

F32 maxV 
F32 minV 

Public Functions

FRangeValidator(F32 minValue, F32 maxValue)

getMax()

getMin()

validateType(SimObject * object, void * typePtr)

Reimplemented from: TypeValidator