ModelData:getMeshDrawMode

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
modeDrawMode The draw mode of the mesh.

See also