Tesla Graphics Engine Documentation (January 2012)
VertexPositionColor Structure
TeslaTesla.GraphicsVertexPositionColor
Represents a vertex with position and vertex color data.
Declaration Syntax
C#
[SerializableAttribute]
public struct VertexPositionColor
Members
All Members Constructors Methods Fields



Icon Member Description
VertexPositionColor(Vector3, Color)
Creates a new instance of VertexPositionColor.

Equality(VertexPositionColor, VertexPositionColor)
Implements the operator ==.

Equals(Object)
Determines whether the specified Object is equal to this instance.
(Overrides ValueType.Equals(Object).)
GetHashCode()()()()
Returns a hash code for this instance.
(Overrides ValueType.GetHashCode()()()().)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
Inequality(VertexPositionColor, VertexPositionColor)
Implements the operator !=.

Position
Vertex Position

SizeInBytes
Size of the structure in bytes.

ToString()()()()
Returns a String that represents this instance.
(Overrides ValueType.ToString()()()().)
VertexColor
Vertex color.

VertexDeclaration
Companion vertex declaration to use when dealing with this vertex type.

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)