Pass:setMaterial

Edit

Sets the material. This will apply to most drawing, except for text, skyboxes, and models, which use their own materials.



Arguments

NameTypeDescription
materialTexture | Material The texture or material to apply to surfaces.

Returns

Nothing

Use the default material.

Arguments

None

Returns

Nothing

See also