Populates an <Int32Array> with the <TextureSliceNode> object's channel selector values. A channel selector value refers to the channel to extract from the <Texture> data source. For example, given a <Texture> with an <Image> object storing 8888RGBA, you can select channels 0, 1, 2, or 3. A <TextureSliceNode> may select multiple channels from multiple <Texture> objects, so the values are stored in the <Int32Array> submitted to this function.
int32 GetChannelSelectors( Int32Array p_aiChannels )
Parameter Type | Parameter Name | Documentation |
---|---|---|
<Int32Array> | p_aiChannels | The <Int32Array> to populate with channel selector values. |
None published. Please look for an example in the Scenome Scripting Language code base.