Coppercube API Documentation
Class Vertex3D
A 3d vertex, ususally used in MeshBuffers
Class Overview
Vertex3D(init)
A 3d vertex, ususally used in MeshBuffers
- Parameters:
- init
- {Boolean} set to true to let the vertex members (Position, Normal etc) be initialized with instances of classes, false if not.
Field Attributes | Field Name and Description |
---|---|
Color of the vertex
|
|
Normal of the vertex
|
|
3D Position of the vertex
|
|
Texture coordinate 1 of the vertex
|
|
Texture coordinate 2 of the vertex
|
Field Detail
{int}
Color
Color of the vertex
{Vertex3d}
Normal
Normal of the vertex
{Vertex3d}
Pos
3D Position of the vertex
{Vertex3d}
TCoords
Texture coordinate 1 of the vertex
{Vertex3d}
TCoords2
Texture coordinate 2 of the vertex