C# Class Protogame.VertexPositionNormalBinormalTangentTextureBlendable

Mostra file Open project: RedpointGames/Protogame Class Usage Examples

Public Properties

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

Private Properties

Property Type Description
VertexPositionNormalBinormalTangentTextureBlendable System.Runtime.InteropServices

Public Methods

Method Description
Equals ( VertexPositionNormalBinormalTangentTextureBlendable 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.

VertexPositionNormalBinormalTangentTextureBlendable ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 binormal, Microsoft.Xna.Framework.Vector3 tangent, Vector2 textureCoordinate, Vector4 boneWeight, Byte4 boneIndices ) : System.Runtime.InteropServices

Initializes a new instance of the VertexPositionNormalTextureBlendable struct.

operator ( ) : bool

The equality operator for this vertex structure.

Private Methods

Method Description
VertexPositionNormalBinormalTangentTextureBlendable ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormalBinormalTangentTextureBlendable struct.

Method Details

Equals() public method

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

VertexPositionNormalBinormalTangentTextureBlendable() public method

Initializes a new instance of the VertexPositionNormalTextureBlendable struct.
public VertexPositionNormalBinormalTangentTextureBlendable ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 binormal, Microsoft.Xna.Framework.Vector3 tangent, Vector2 textureCoordinate, 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. ///
binormal Microsoft.Xna.Framework.Vector3 /// The binormal of the vertex. ///
tangent Microsoft.Xna.Framework.Vector3 /// The tangent of the vertex. ///
textureCoordinate Microsoft.Xna.Framework.Vector2 /// The texture coordinate for 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

Binormal public_oe property

The binormal of the vertex.
public Vector3,Microsoft.Xna.Framework Binormal
return Microsoft.Xna.Framework.Vector3

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

Tangent public_oe property

The tangent of the vertex.
public Vector3,Microsoft.Xna.Framework Tangent
return Microsoft.Xna.Framework.Vector3

TextureCoordinate public_oe property

The texture coordinate for the vertex.
public Vector2,Microsoft.Xna.Framework TextureCoordinate
return Microsoft.Xna.Framework.Vector2

VertexDeclaration public_oe static_oe property

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