ModelMeshRenderer Constructor (String, Int32) |
Create the mesh renderer component.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public ModelMeshRenderer(
string model,
int meshIndex
)
Parameters
- model
- Type: SystemString
Path of the model asset to draw. - meshIndex
- Type: SystemInt32
Which mesh to draw from model.
See Also