AddMeshVertex()

Syntax

AddMeshVertex(x, y, z)
Description
Add a new vertex to the current mesh previously created with CreateMesh(). To add specific attributes to the newly created vertex, use the following commands: MeshVertexNormal(), MeshVertexColor() and MeshVertexTextureCoordinate(). To create a new face use AddMeshFace().

Parameters

x The x position of the new vertex.
y The y position of the new vertex.
z The z position of the new vertex.

Return value

This function has no return value.

See Also

CreateMesh(), AddMeshFace(), MeshVertexNormal(), MeshVertexColor(), MeshVertexTextureCoordinate()

Supported OS

All

<- AddMeshFace() - Mesh Index - AddSubMesh() ->