CombineChildrenMeshes


Declaration

public sealed class CombineChildrenMeshes : MonoBehaviour

Description

Combines children meshes into one mesh.

Properties

combinedMeshNameThe name of the combined mesh.
combineOnStartCombines the mesh on start, otherwise it needs to be called manually.
deleteChildrenDestroys the child game objects after combining.
mergeSubmeshesCombines all of the meshes into a single submesh.
optimizeMeshOptimizes the combined mesh data to improve rendering performance.
recalculateBoundsRecalculates the bounding volume of the combined mesh.

Methods

CombineCombines the meshes of the children of this game object.