C# 클래스 TerrainDisplay.VertexPositionNormalColored

Struct outlining our custom vertex
파일 보기 프로젝트 열기: WCell/WCell-Terrain

공개 프로퍼티들

프로퍼티 타입 설명
Color Microsoft.Xna.Framework.Color
Normal Microsoft.Xna.Framework.Vector3
Position Microsoft.Xna.Framework.Vector3
SizeInBytes int
VertexElements Microsoft.Xna.Framework.Graphics.VertexElement[]

공개 메소드들

메소드 설명
VertexPositionNormalColored ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Color color, Microsoft.Xna.Framework.Vector3 normal ) : Microsoft.Xna.Framework

Constructor for a VertexPositionNormalColored

메소드 상세

VertexPositionNormalColored() 공개 메소드

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
리턴 Microsoft.Xna.Framework

프로퍼티 상세

Color 공개적으로 프로퍼티

Color of this vertex
public Color,Microsoft.Xna.Framework Color
리턴 Microsoft.Xna.Framework.Color

Normal 공개적으로 프로퍼티

Normal vector for this Vertex
public Vector3,Microsoft.Xna.Framework Normal
리턴 Microsoft.Xna.Framework.Vector3

Position 공개적으로 프로퍼티

Vector3 Position for this vertex
public Vector3,Microsoft.Xna.Framework Position
리턴 Microsoft.Xna.Framework.Vector3

SizeInBytes 공개적으로 정적으로 프로퍼티

Memory size for a VertexPositionNormalColored
public static int SizeInBytes
리턴 int

VertexElements 공개적으로 정적으로 프로퍼티

VertexElement array (used for rendering)
public static VertexElement[],Microsoft.Xna.Framework.Graphics VertexElements
리턴 Microsoft.Xna.Framework.Graphics.VertexElement[]