C# Class Protogame.VertexPositionNormalColorBlendable

Exibir arquivo Open project: RedpointGames/Protogame Class Usage Examples

Public Properties

Property Type Description
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

Property Type Description
VertexPositionNormalColorBlendable 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.

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.

Private Methods

Method Description
VertexPositionNormalColorBlendable ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormalColorBlendable 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

VertexPositionNormalColorBlendable() public method

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. ///
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

Color public_oe property

The diffuse color of the vertex.
public Vector3,Microsoft.Xna.Framework Color
return Microsoft.Xna.Framework.Vector3

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