-
Notifications
You must be signed in to change notification settings - Fork 0
MeshRenderer
Noah Gallo edited this page Mar 12, 2023
·
2 revisions
SceneObject used for rendering a mesh
Implements: SceneObject
| Signature | Description |
|---|---|
| MeshRenderer(Material* material) | Creates a MeshRenderer with the given material |
| MeshRenderer(Material* material, Mesh* mesh) | Creates a MeshRenderer with the given mesh and material |
| MeshRenderer(Material* material, vec3 vertices[], int vertexCount, int triangles[], int triangleCount) | Creates a MeshRenderer from the given mesh data |