Pass:setMaterial
EditSets the material. This will apply to most drawing, except for text, skyboxes, and models, which use their own materials.
Arguments
Name | Type | Description |
material | Material | The material to use for drawing. |
Returns
Nothing
Arguments
Name | Type | Description |
texture | Texture | The texture to use as the material. |
Returns
Nothing
Use the default material.
Arguments
None
Returns
Nothing
See also
Pass