Share 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 The vertex position.
Public Field Static VertexElements An array of two vertex elements describing the position, followed by the color, of this vertex.

Public Properties

Name Description
Public Property Static SizeInBytes Gets the size of the VertexPositionColor class.

Public Methods

Name Description
Public Method Equals Overloaded. 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 ReferenceEquals (Inherited from Object.)
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