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 index, uint64 value )

Parameters

Parameter Type Parameter Name Documentation
int32indexThe index of the value to set.
uint64valueThe value to clamp and then set.

Examples

Copy Text To Clipboard

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