Bagikan melalui


CubeMapFace Enumeration

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

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

Syntax

public enum CubeMapFace

Members

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

See Also

Reference

TextureCube.GetData Method
TextureCube.SetData Method
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista