Provides script language access to C++ objects of this type.
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Texture> | Texture | This member indicates the target <Texture> to bind, but accepts only <Texture> nodes. The member evaluates the bound <Texture>, even if linked, provided the linked <Node> type is a <Texture>. |
<Node> | TextureLink | This member indicates the target <Texture> to bind, and accepts general <NodeLink> nodes in addition to <Texture> nodes. This member evaluates as the linked <Node>. |
int32 | TextureSlice | This member indicates which 2D layer, or slice, of the <Texture> is bound, for texture types with complex topology, such as texture arrays, cube maps, or 3D volume textures. For any texture type, -1 indicates bind all texture layers. For cube maps, values zero through five indicate the cube map faces as follows: 0 = +X, 1 = -X, 2 = +Y, 3 = -Y, 4 = +Z, 5 = -Z. For array textures, this value indicates the zero-based slice along the depth or layer axis of the array, and similarly for volume textures. |