Sets all the <TextureSliceNode> object's <Texture> object references to the <Node> submitted to this function. The total number of <Texture> object data sources is at most 16, and this function only sets <Texture> object data sources for valid channels. For example, given a <Texture> with an <Image> object representing 8888RGBA, this function sets the first 4 <Texture> object references. The remaining <Texture> data sources are not set.
int32 SetAllChannels( Node p_oTexture )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Node> | p_oTexture | A non-owning pointer to the <Texture> node you wish to set as the <TextureSliceNode> object's data source for all channels. |
None published. Please look for an example in the Scenome Scripting Language code base.