---
title: "ObjVertexColor class"
url: "https://reference.aspose.com/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/"
product: "Aspose.CAD for Python via .NET API References"
---


## ObjVertexColor class

The OBJ vertex (position and color).



**Inheritance:** [`ObjVertexColor`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor) → 
[`ObjVertex`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertex)



The ObjVertexColor type exposes the following members:

### Constructors
| Constructor | Description |
| :- | :- |
| [__init__](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/__init__/#float-float-float-float-float-float) | Initializes a new instance of the [`ObjVertexColor`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor) class. |


### Properties
| Property | Description |
| :- | :- |
| [x](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/x) | Gets the x coordinate. |
| [y](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/y) | Gets the y coordinate. |
| [z](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/z) | Gets the z coordinate. |
| [r](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/r) | Gets the red component. |
| [g](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/g) | Gets the green component. |
| [b](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/b) | Gets the blue component. |


### Methods
| Method | Description |
| :- | :- |
| [equals](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/equals/#aspose.cad.fileformats.obj.vertexdata.ObjVertexColor) | Indicates whether the current object is equal to another object of the same type. |
| [equals](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor/equals/#aspose.cad.fileformats.obj.vertexdata.ObjVertex) | Indicates whether the current object is equal to another object of the same type. |



### See Also
* module [`aspose.cad.fileformats.obj.vertexdata`](..)
* class [`ObjVertex`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertex)
* class [`ObjVertexColor`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor)
