SetTexture Data Member Function

Sets the <TextureSliceNode> object's <Texture> data source at the specified index.

Prototype

int32 SetTexture( int32 p_nIndex, Node p_oTexture )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index of the <Texture> data source you wish to set. Since the <TextureSliceNode> can refer to up to 16 <Texture> data sources, this value must be between 0 and 15.
<Node>p_oTextureA non-owning pointer to the <Texture> node you wish to set as the <TextureSliceNode> object's data source at the specified channel.

Examples

Copy Text To Clipboard

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