Torque3D Documentation / _generateds / IRangeValidator

IRangeValidator

Engine/source/console/typeValidators.h

Signed integer min/max range validator.

More...

Private Attributes

Public Functions

IRangeValidator(S32 minValue, S32 maxValue)
validateType(SimObject * object, void * typePtr)

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

Detailed Description

Signed integer min/max range validator.

Private Attributes

S32 maxV 
S32 minV 

Public Functions

IRangeValidator(S32 minValue, S32 maxValue)

getMax()

getMin()

validateType(SimObject * object, void * typePtr)

Reimplemented from: TypeValidator