Class ObjVertexColor

ObjVertexColor class

The OBJ vertex (position and color).

public class ObjVertexColor : ObjVertex, IEquatable<ObjVertexColor>

Constructors

NameDescription
ObjVertexColor(float, float, float, float, float, float)Initializes a new instance of the ObjVertexColor class.

Properties

NameDescription
B { get; }Gets the blue component.
G { get; }Gets the green component.
R { get; }Gets the red component.
X { get; }Gets the x coordinate.
Y { get; }Gets the y coordinate.
Z { get; }Gets the z coordinate.

Methods

NameDescription
override Equals(object)Indicates whether the current object is equal to another object.
Equals(ObjVertex)Indicates whether the current object is equal to another object of the same type.
Equals(ObjVertexColor)Indicates whether the current object is equal to another object of the same type.
override GetHashCode()Gets hash code.
operator ==Overloading the equality operator.
operator !=Overloading the inequality operator.

See Also