Sets the <TextureSliceNode> object's <Texture> data source at the specified index.
int32 SetTexture( int32 p_nIndex, Node p_oTexture )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The 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_oTexture | A non-owning pointer to the <Texture> node you wish to set as the <TextureSliceNode> object's data source at the specified channel. |
None published. Please look for an example in the Scenome Scripting Language code base.