SetAllChannels Data Member Function

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.

Prototype

int32 SetAllChannels( Node p_oTexture )

Parameters

Parameter Type Parameter Name Documentation
<Node>p_oTextureA non-owning pointer to the <Texture> node you wish to set as the <TextureSliceNode> object's data source for all channels.

Examples

Copy Text To Clipboard

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