C# Class Protogame.VertexPositionNormalBlendable

ファイルを表示 Open project: RedpointGames/Protogame

Public Properties

Property Type Description
BoneIndices Byte4
BoneWeights Microsoft.Xna.Framework.Vector4
Normal Microsoft.Xna.Framework.Vector3
Position Microsoft.Xna.Framework.Vector3
VertexDeclaration Microsoft.Xna.Framework.Graphics.VertexDeclaration

Private Properties

Property Type Description
VertexPositionNormalBlendable System.Runtime.InteropServices

Public Methods

Method Description
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.

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

Initializes a new instance of the VertexPositionNormalBlendable struct.

operator ( ) : bool

The equality operator for this vertex structure.

Private Methods

Method Description
VertexPositionNormalBlendable ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormalBlendable struct.

Method Details

Equals() public method

Indicates whether this instance and a specified object are equal.
public Equals ( VertexPositionNormalColorBlendable other ) : bool
other VertexPositionNormalColorBlendable /// The object to compare this instance to. ///
return bool

Equals() public method

Indicates whether this instance and a specified object are equal.
public Equals ( object obj ) : bool
obj object /// The object to compare this instance to. ///
return bool

GetHashCode() public method

Calculates the hash code representing the current instance.
public GetHashCode ( ) : int
return int

ToString() public method

Returns a string representation of the vertex.
public ToString ( ) : string
return string

VertexPositionNormalBlendable() public method

Initializes a new instance of the VertexPositionNormalBlendable struct.
public VertexPositionNormalBlendable ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, 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. ///
boneWeight Microsoft.Xna.Framework.Vector4 /// The bone weightings that apply to the vertex. ///
boneIndices Byte4 /// The bone IDs that apply to the vertex. ///
return System.Runtime.InteropServices

operator() public static method

The equality operator for this vertex structure.
public static operator ( ) : bool
return bool

Property Details

BoneIndices public_oe property

The bone IDs that apply to the vertex.
public Byte4 BoneIndices
return Byte4

BoneWeights public_oe property

The bone weightings that apply to the vertex.
public Vector4,Microsoft.Xna.Framework BoneWeights
return Microsoft.Xna.Framework.Vector4

Normal public_oe property

The normal of the vertex.
public Vector3,Microsoft.Xna.Framework Normal
return Microsoft.Xna.Framework.Vector3

Position public_oe property

The position of the vertex.
public Vector3,Microsoft.Xna.Framework Position
return Microsoft.Xna.Framework.Vector3

VertexDeclaration public_oe static_oe property

The vertex declaration structure.
public static VertexDeclaration,Microsoft.Xna.Framework.Graphics VertexDeclaration
return Microsoft.Xna.Framework.Graphics.VertexDeclaration