Partager via


VertexPositionColor Members

The following tables list the members exposed by the VertexPositionColor type.

Public Constructors

Name Description
Public Method VertexPositionColor Initializes a new instance of the VertexPositionColor class.

Public Fields

Name Description
Public Field Color The vertex color.
Public Field Position XYZ position.
Public Field Static VertexDeclaration Vertex declaration, which defines per-vertex data.

Public Methods

Name Description
Public Method Equals Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Compares two objects to determine whether they are the same.
Public Method Static op_Inequality Compares two objects to determine whether they are different.
Public Method ToString Retrieves a string representation of this object.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

VertexPositionColor Structure
Microsoft.Xna.Framework.Graphics Namespace