ModelData:getNodeMeshes

Edit

Returns a table of mesh indices attached to a node. Meshes define the geometry and materials of a model, as opposed to the nodes which define the transforms and hierarchy. A node can have multiple meshes, and meshes can be reused in multiple nodes.



Arguments

NameTypeDescription
indexnumber The index of the node.

Returns

NameTypeDescription
meshestable A table with the node's mesh indices.

Arguments

NameTypeDescription
namestring The name of the node.

Returns

NameTypeDescription
meshestable A table with the node's mesh indices.

See also