Provides script language access to C++ objects of this type.
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Node> | Texture | Returns a pointer to the <Texture> node to which this <Node> is connected, or nullptr if no connection exists. |
<Node> | TextureLink | Returns a pointer to the <Texture> node to which this <Node> is connected, or nullptr if no connection exists. If the connected <Node> is a <NodeLink>, this returns the <Node> at which the <NodeLink> points. |
int32 | BitsPerElement | Gets or sets the bits-per-element for the TextureChannelNode. This value refers to the BitsPerElement enumeration. Please see TYPE_SERVICE_ENUMERATION_UTIL.SSL in the application scripts folder for more information. |
int32 | ExtractChannel | Gets or sets the texture channel to extract. This must be valid relative to the current texture and the number of bits per channel. For example, you can extract channels 0, 1, 2, or 3, from a <Texture> with an <Image> object set to pixel format 8888RGBA with 8 bits per channel. |