A <TextureSliceNode> may refer to up to 16 <Texture> data source objects, and this function returns a pointer to the <Node> at the specified index, or nullptr if the <Node> does not exist. While the <TextureSliceNode> data sources should always be of type <Texture>, this cannot be guaranteed, so a <Node> pointer is returned instead of a <Texture> pointer.
Node GetTexture( int32 p_nIndex )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index of the <Texture> data source you wish to retrieve. |
None published. Please look for an example in the Scenome Scripting Language code base.