C# Класс Protogame.VertexPositionNormal

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Normal Microsoft.Xna.Framework.Vector3
Position Microsoft.Xna.Framework.Vector3
VertexDeclaration Microsoft.Xna.Framework.Graphics.VertexDeclaration

Private Properties

Свойство Тип Описание
VertexPositionNormal System.Runtime.InteropServices

Открытые методы

Метод Описание
Equals ( VertexPositionNormal other ) : bool

Indicates whether this instance and a specified object are equal.

Equals ( object obj ) : bool

Indicates whether this instance and a specified object are equal.

GetHashCode ( ) : int

Calculates the hash code representing the current instance.

ToString ( ) : string

Returns a string representation of the vertex.

VertexPositionNormal ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal ) : System.Runtime.InteropServices

Initializes a new instance of the VertexPositionNormal struct.

operator ( ) : bool

The equality operator for this vertex structure.

Приватные методы

Метод Описание
VertexPositionNormal ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormal struct.

Описание методов

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( VertexPositionNormal other ) : bool
other VertexPositionNormal /// The object to compare this instance to. ///
Результат bool

Equals() публичный Метод

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object /// The object to compare this instance to. ///
Результат bool

GetHashCode() публичный Метод

Calculates the hash code representing the current instance.
public GetHashCode ( ) : int
Результат int

ToString() публичный Метод

Returns a string representation of the vertex.
public ToString ( ) : string
Результат string

VertexPositionNormal() публичный Метод

Initializes a new instance of the VertexPositionNormal struct.
public VertexPositionNormal ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal ) : System.Runtime.InteropServices
position Microsoft.Xna.Framework.Vector3 /// The position of the vertex. ///
normal Microsoft.Xna.Framework.Vector3 /// The normal of the vertex. ///
Результат System.Runtime.InteropServices

operator() публичный статический Метод

The equality operator for this vertex structure.
public static operator ( ) : bool
Результат bool

Описание свойств

Normal публичное свойство

The normal of the vertex.
public Vector3,Microsoft.Xna.Framework Normal
Результат Microsoft.Xna.Framework.Vector3

Position публичное свойство

The position of the vertex.
public Vector3,Microsoft.Xna.Framework Position
Результат Microsoft.Xna.Framework.Vector3

VertexDeclaration публичное статическое свойство

The vertex declaration structure.
public static VertexDeclaration,Microsoft.Xna.Framework.Graphics VertexDeclaration
Результат Microsoft.Xna.Framework.Graphics.VertexDeclaration