set_material

function

set_material(_name, _material)

Description

Sets a material.

Arguments

Name Type Description
_name String The name of the material slot.
_material Struct.BBMOD_BaseMaterial The material.

Returns

Struct.BBMOD_Model Returns self.

Throws

See also

BBMOD_BaseMaterial, BBMOD_Model.MaterialNames, BBMOD_Model.Materials, BBMOD_Model.get_material

Do you find this page helpful?

Copyright © 2022, BlueBurn. Built on May 18, 2022 using GMDoc.