new MeshInstance(mesh, material)
Parameters:
Name | Type | Description |
---|---|---|
mesh |
The |
|
material |
The |
MeshInstance allows bundling a Mesh
with a Material
for rendering, allowing both the geometry
and materials to be shared regardless of the combination of both. MeshInstance is managed by ModelInstance
internally and should never be created manually.
Name | Type | Description |
---|---|---|
mesh |
The |
|
material |
The |