SetComponent Data Member Function

Sets the <Color4444> component at the specified index to the specified value.

Prototype

int32 SetComponent( int32 p_nIndex, int32 p_nValue )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the component. ( 0 = R, 1 = G, 2 = B, or 3 = A )
int32p_nValueAn <int32> representing the R, G, B, or A value. Must be between 0-255.

Examples

Copy Text To Clipboard

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