ClampValue Data Member Function

Sets the value stored by this <Node> if and only if the value is within the range values specified by this <Node>.

Prototype

int32 ClampValue( int32 p_nIndex, int32 p_bValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the value to set.
int32p_bValueThe value to set.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.