C# Класс Protogame.VertexPositionNormalColorBlendable

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

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

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

Private Properties

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

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

Метод Описание
Equals ( VertexPositionNormalColorBlendable 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.

VertexPositionNormalColorBlendable ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Color color, Vector4 boneWeight, Byte4 boneIndices ) : System.Runtime.InteropServices

Initializes a new instance of the VertexPositionNormalTextureBlendable struct.

operator ( ) : bool

The equality operator for this vertex structure.

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

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

Initializes static members of the VertexPositionNormalColorBlendable struct.

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

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

Indicates whether this instance and a specified object are equal.
public Equals ( VertexPositionNormalColorBlendable other ) : bool
other VertexPositionNormalColorBlendable /// 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

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

Initializes a new instance of the VertexPositionNormalTextureBlendable struct.
public VertexPositionNormalColorBlendable ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Color color, Vector4 boneWeight, Byte4 boneIndices ) : System.Runtime.InteropServices
position Microsoft.Xna.Framework.Vector3 /// The position of the vertex. ///
normal Microsoft.Xna.Framework.Vector3 /// The normal of the vertex. ///
color Microsoft.Xna.Framework.Color
boneWeight Microsoft.Xna.Framework.Vector4 /// The bone weightings that apply to the vertex. ///
boneIndices Byte4 /// The bone IDs that apply to the vertex. ///
Результат System.Runtime.InteropServices

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

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

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

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

The bone IDs that apply to the vertex.
public Byte4 BoneIndices
Результат Byte4

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

The bone weightings that apply to the vertex.
public Vector4,Microsoft.Xna.Framework BoneWeights
Результат Microsoft.Xna.Framework.Vector4

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

The diffuse color of the vertex.
public Vector3,Microsoft.Xna.Framework Color
Результат Microsoft.Xna.Framework.Vector3

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