ModelComponent
Creates a ModelComponent with the specified mesh and material.
Parameters
mesh
The MeshResource defining the model's shape.
material
The Material defining the model's surface appearance.
Creates a ModelComponent with the specified mesh and an array of materials.
Parameters
mesh
The MeshResource defining the model's shape.
materials
An array of Material objects defining the model's surface appearance.