ClampValue Data Member Function

Clamps the value at the specified index if an only if the value is within the range values specified by this <Node>.

Prototype

int32 ClampValue( int32 p_nIndex, Int16Vector p_oValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the value to clamp.
<Int16Vector>p_oValueA pointer to the <Int16Vector> object containing the proposed value.

Examples

Copy Text To Clipboard

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