A function defined in BBMOD_Model.gml
set_material(_name, _material)
Sets a material.
Name | Type | Description |
---|---|---|
_name | String |
The name of the material slot. |
_material | Struct.BBMOD_IMaterial, Pointer.Texture |
Either a material struct or just a texture if you don't wish to use BBMOD's material system. |
Struct.BBMOD_Model
Returns self
.
BBMOD_Model.MaterialNames, BBMOD_Model.Materials, BBMOD_Model.get_material
Copyright © 2024, BlueBurn. Built on September 07, 2024 using GMDoc.