Class ObjVertexColor
ObjVertexColor class
The OBJ vertex (position and color).
public class ObjVertexColor : ObjVertex, IEquatable<ObjVertexColor>
Constructors
Name | Description |
---|
ObjVertexColor(float, float, float, float, float, float) | Initializes a new instance of the ObjVertexColor class. |
Properties
Name | Description |
---|
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
Name | Description |
---|
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