C# Class TerrainDisplay.VertexPositionNormalColored

Struct outlining our custom vertex
Afficher le fichier Open project: WCell/WCell-Terrain

Méthodes publiques

Свойство Type Description
Color Microsoft.Xna.Framework.Color
Normal Microsoft.Xna.Framework.Vector3
Position Microsoft.Xna.Framework.Vector3
SizeInBytes int
VertexElements Microsoft.Xna.Framework.Graphics.VertexElement[]

Méthodes publiques

Méthode Description
VertexPositionNormalColored ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Color color, Microsoft.Xna.Framework.Vector3 normal ) : Microsoft.Xna.Framework

Constructor for a VertexPositionNormalColored

Method Details

VertexPositionNormalColored() public méthode

Constructor for a VertexPositionNormalColored
public VertexPositionNormalColored ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Color color, Microsoft.Xna.Framework.Vector3 normal ) : Microsoft.Xna.Framework
position Microsoft.Xna.Framework.Vector3 Vector3 Position of the vertex
color Microsoft.Xna.Framework.Color Color of the vertex
normal Microsoft.Xna.Framework.Vector3 Normal vector of the vertex
Résultat Microsoft.Xna.Framework

Property Details

Color public_oe property

Color of this vertex
public Color,Microsoft.Xna.Framework Color
Résultat Microsoft.Xna.Framework.Color

Normal public_oe property

Normal vector for this Vertex
public Vector3,Microsoft.Xna.Framework Normal
Résultat Microsoft.Xna.Framework.Vector3

Position public_oe property

Vector3 Position for this vertex
public Vector3,Microsoft.Xna.Framework Position
Résultat Microsoft.Xna.Framework.Vector3

SizeInBytes public_oe static_oe property

Memory size for a VertexPositionNormalColored
public static int SizeInBytes
Résultat int

VertexElements public_oe static_oe property

VertexElement array (used for rendering)
public static VertexElement[],Microsoft.Xna.Framework.Graphics VertexElements
Résultat Microsoft.Xna.Framework.Graphics.VertexElement[]