Skip to content

MeshMaterial

Noah Gallo edited this page Mar 12, 2023 · 2 revisions

MeshMaterial

The default material used for rendering a mesh object with the given texture

Public Constructors (Non-Default)

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

Public Fields/Properties

Name Property? Type Description
texture NO Texture The texture to draw on the mesh

Clone this wiki locally