MeshVertexPosition()

Syntax

MeshVertexPosition(x, y, z)
Description
Add a new vertex to the current mesh previously created with CreateMesh(). To set specific attributes to the newly created vertex, use the following commands: MeshVertexNormal(), MeshVertexTangent(), MeshVertexColor() and MeshVertexTextureCoordinate(). If several attributes needs to be specified, MeshVertex() can be used instead. To create a new face use MeshFace().

Parameters

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

Return value

None.

See Also

CreateMesh(), MeshFace(), MeshVertexNormal(), MeshVertexTangent(), MeshVertexColor(), MeshVertexTextureCoordinate(), MeshVertex()

Supported OS

All

<- MeshVertexNormal() - Mesh Index - MeshVertexTangent() ->