CombinedMeshesRendererAddModelMesh Method |
Add a model mesh to the combined mesh.
Note: will not take effect until 'Build()' is called.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void AddModelMesh(
ModelMesh mesh,
Matrix transform,
MaterialAPI material = null
)
Parameters
- mesh
- Type: ModelMesh
Mesh to add. - transform
- Type: Matrix
World transformations. - material (Optional)
- Type: GeonBit.Core.Graphics.MaterialsMaterialAPI
Optional material to use instead of the mesh default materials.
See Also