Model:getMaterialCount

Returns the number of materials in the Model.

count = Model:getMaterialCount()

Arguments

None

Returns

NameTypeDescription
countnumberThe number of materials in the Model.

See also