SetComponent Data Member Function

Sets the component of the vector at the specified index.

Prototype

int32 SetComponent( int32 p_nComponent, int32 p_nValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nComponentThe index of the component you wish to access. Value must be 0-3.
int32p_nValueThe value you wish to set for the specified component.

Examples

Copy Text To Clipboard

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