Model:getMaterial

Edit

Returns a Material loaded from the Model.



Arguments

NameTypeDescription
namestring The name of the Material to return.

Returns

NameTypeDescription
materialMaterial The material.

Arguments

NameTypeDescription
indexnumber The index of the Material to return.

Returns

NameTypeDescription
materialMaterial The material.

See also