ModelData:getMeshDrawMode
EditReturns the draw mode of a mesh. This controls how its vertices are connected together (points, lines, or triangles).
mode = ModelData:getMeshDrawMode(mesh)
Arguments
Name | Type | Description |
mesh | number | The index of a mesh. |
Returns
Name | Type | Description |
mode | ModelDrawMode | The draw mode of the mesh. |