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, uint32 The value to set. )

Parameters

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

Examples

Copy Text To Clipboard

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