CubeMapFace Enumeration

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the faces of a cube map in the TextureCube class type.

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public Enumeration CubeMapFace
public enum CubeMapFace

Members

Member name Description
PositiveX Positive x-face of the cube map.
NegativeX Negative x-face of the cube map.
PositiveY Positive y-face of the cube map.
NegativeY Negative y-face of the cube map.
PositiveZ Positive z-face of the cube map.
NegativeZ Negative z-face of the cube map.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.