Model:getMaterialCount

Returns the number of materials in the Model.

count = Model:getMaterialCount()

Arguments

None

Returns

NameTypeDescription
countnumber The number of materials in the Model.

See also