Add a vertex
| <node3d:onthefly>.addVertex( | |
| [x,y,z] | |
| color = None | # Keyword argument |
| normal = None | # Keyword argument |
| texCoord = None | # Keyword argument |
)
[x,y,z]
The position of the vertex
color = None
Optionally specifies the color of the new vertex.
normal = None
Optionally specifies the normal vector of the new vertex.
texCoord = None
Optionally specifies the texture coordinate of the new vertex.
This command will add a vertex to the existing On-The-Fly object. The vertex will be added to the end of the vertex list.
The index of the new vertex