natiny.mesh.destroy
natiny.mesh.destroy(mesh)
Frees the geometry: the vertices of every part, and the textures that were loaded from the source file's materials.
Parameters
| Name | Type | Description |
|---|---|---|
mesh |
number |
Mesh handle |
Example
natiny.mesh.destroy(mesh)