ObjVertexColor constructor

init

Initializes a new instance of the ObjVertexColor class.

def __init__(self, x, y, z, r, g, b):
    ...
ParameterTypeDescription
xfloatThe x coordinate.
yfloatThe y coordinate.
zfloatThe z coordinate.
rfloatThe red component.
gfloatThe green component.
bfloatThe blue component.

See Also