C# Class Protogame.VertexPositionNormal

Afficher le fichier Open project: RedpointGames/Protogame Class Usage Examples

Méthodes publiques

Свойство Type Description
Normal Microsoft.Xna.Framework.Vector3
Position Microsoft.Xna.Framework.Vector3
VertexDeclaration Microsoft.Xna.Framework.Graphics.VertexDeclaration

Private Properties

Свойство Type Description
VertexPositionNormal System.Runtime.InteropServices

Méthodes publiques

Méthode Description
Equals ( VertexPositionNormal 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.

VertexPositionNormal ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal ) : System.Runtime.InteropServices

Initializes a new instance of the VertexPositionNormal struct.

operator ( ) : bool

The equality operator for this vertex structure.

Private Methods

Méthode Description
VertexPositionNormal ( ) : System.Runtime.InteropServices

Initializes static members of the VertexPositionNormal struct.

Method Details

Equals() public méthode

Indicates whether this instance and a specified object are equal.
public Equals ( VertexPositionNormal other ) : bool
other VertexPositionNormal /// The object to compare this instance to. ///
Résultat bool

Equals() public méthode

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

GetHashCode() public méthode

Calculates the hash code representing the current instance.
public GetHashCode ( ) : int
Résultat int

ToString() public méthode

Returns a string representation of the vertex.
public ToString ( ) : string
Résultat string

VertexPositionNormal() public méthode

Initializes a new instance of the VertexPositionNormal struct.
public VertexPositionNormal ( Microsoft.Xna.Framework.Vector3 position, Microsoft.Xna.Framework.Vector3 normal ) : System.Runtime.InteropServices
position Microsoft.Xna.Framework.Vector3 /// The position of the vertex. ///
normal Microsoft.Xna.Framework.Vector3 /// The normal of the vertex. ///
Résultat System.Runtime.InteropServices

operator() public static méthode

The equality operator for this vertex structure.
public static operator ( ) : bool
Résultat bool

Property Details

Normal public_oe property

The normal of the vertex.
public Vector3,Microsoft.Xna.Framework Normal
Résultat Microsoft.Xna.Framework.Vector3

Position public_oe property

The position of the vertex.
public Vector3,Microsoft.Xna.Framework Position
Résultat Microsoft.Xna.Framework.Vector3

VertexDeclaration public_oe static_oe property

The vertex declaration structure.
public static VertexDeclaration,Microsoft.Xna.Framework.Graphics VertexDeclaration
Résultat Microsoft.Xna.Framework.Graphics.VertexDeclaration