slice property

int slice
getter/setter pair

The slice of texture to render into. For cubemap textures this selects the face in the order +X, -X, +Y, -Y, +Z, -Z. Must be in the range [0, texture.sliceCount) (always 0 for non-cubemap textures).

Implementation

int slice;