C# Class Protogame.VertexPositionNormalBinormalTangentTexture

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

Public Properties

Property Type Description
Binormal Microsoft.Xna.Framework.Vector3
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
VertexPositionNormalBinormalTangentTexture System.Runtime.InteropServices

Public Methods

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

VertexPositionNormalBinormalTangentTexture ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 binormal, Microsoft.Xna.Framework.Vector3 tangent, Vector2 textureCoordinate ) : System.Runtime.InteropServices

Initializes a new instance of the VertexPositionNormalBinormalTangentTexture struct.

operator ( ) : bool

The equality operator for this vertex structure.

Private Methods

Method Description
VertexPositionNormalBinormalTangentTexture ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormalBinormalTangentTexture struct.

Method Details

Equals() public method

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

VertexPositionNormalBinormalTangentTexture() public method

Initializes a new instance of the VertexPositionNormalBinormalTangentTexture struct.
public VertexPositionNormalBinormalTangentTexture ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal, Microsoft.Xna.Framework.Vector3 binormal, Microsoft.Xna.Framework.Vector3 tangent, Vector2 textureCoordinate ) : 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. ///
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

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