ModelData:getMeshDrawMode

Edit

Returns the draw mode of a mesh. This controls how its vertices are connected together (points, lines, or triangles).

mode = ModelData:getMeshDrawMode(mesh)

Arguments

NameTypeDescription
meshnumber The index of a mesh.

Returns

NameTypeDescription
modeModelDrawMode The draw mode of the mesh.

See also