Lua
C++
Edit

CreateMesh

This function creates a new mesh.

Syntax

Parameter Description
primitivetype can be MESH_POINTS, MESH_LINES, MESH_TRIANGLES, or MESH_QUADS

Returns

Returns a new mesh if successful.

If the indices array size is not evenly divisible by the number of indices per primitive then NULL is returned.

If the indices array contains invalid vertex indices then NULL is returned.

Copyright © 2024 Ultra Software.
All rights reserved.