MeshIndex()
Syntax
MeshIndex(Index)Description
Add or update a single vertex in the mesh being created with CreateMesh() or updated with UpdateMesh(). It behaves like the command MeshFace(), but with an arbitrary number of vertices. When using the mode #PB_Mesh_LineList or #PB_Mesh_LineStrip, there are only two vertices per line, so MeshIndex() needs to be used in this case.
Parameters
Index The vertex index.
Return value
None.
See Also
UpdateMesh(), MeshIndex(), MeshFace(), MeshVertexPosition(), MeshVertexNormal(), MeshVertexTangent(), MeshVertexColor() MeshVertexTextureCoordinate()
Supported OS
All