Click or drag to resize
AB4D logo

MeshUtilsCombineAllMeshes(Model3D, Transform3D) Method

CombineAllMeshes method combines all meshes from the specified Model3D hierarchy and converts them into a single MeshGeometry3D. It also applies all the transformations to the positions and normals (transformed by inversed transposed matrix).

Namespace: Ab3d.Utilities
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public static MeshGeometry3D CombineAllMeshes(
	Model3D model3D,
	Transform3D parentTransform = null
)

Parameters

model3D  Model3D
root Model3D
parentTransform  Transform3D  (Optional)
parent Transform3D or null

Return Value

MeshGeometry3D
MeshGeometry3D created from combining all meshes from the specified Model3D
See Also