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


## __init__ {#float-float-float-float-float-float}

Initializes a new instance of the [`ObjVertexColor`](/cad/python-net/aspose.cad.fileformats.obj.vertexdata/objvertexcolor) class.



```python
def __init__(self, x, y, z, r, g, b):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| x | float | The x coordinate. |
| y | float | The y coordinate. |
| z | float | The z coordinate. |
| r | float | The red component. |
| g | float | The green component. |
| b | float | The blue component. |



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