-
Notifications
You must be signed in to change notification settings - Fork 0
MeshMaterial
Noah Gallo edited this page Mar 12, 2023
·
2 revisions
The default material used for rendering a mesh object with the given texture
| Signature | Description |
|---|---|
| MeshMaterial(Shader* shader) | Creates a new MeshMaterial with the given shader |
| MeshMaterial(Shader* shader, Texture tex) | Creates a new MeshMaterial with the given shader and texture |
| Name | Property? | Type | Description |
|---|---|---|---|
| texture | NO | Texture | The texture to draw on the mesh |