Click or drag to resize
CombinedMeshesEntityAddModelMesh Method
Add a model mesh to the combined mesh.

Namespace:  GeonBit.Core.Graphics
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
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