Model:getNodeDrawCount

Returns the number of meshes attached to a node. Each mesh is drawn individually.


count = Model:getNodeDrawCount(index)

Arguments

NameTypeDescription
indexnumber The index of a node.

Returns

NameTypeDescription
countnumber The number of draws in the node.

count = Model:getNodeDrawCount(name)

Arguments

NameTypeDescription
namestring The name of a node.

Returns

NameTypeDescription
countnumber The number of draws in the node.

See also