Table of Contents

Class MeshCombiner

Namespace
Others

The MeshCombiner is a utility class used by ConvertToTrainARObject to combine and simplify meshes before converting them into TrainAR objects and computing their outlines and adding behaviours.

public class MeshCombiner : MonoBehaviour
Inheritance
object
MeshCombiner

Properties

CombineInactiveChildren

public bool CombineInactiveChildren { get; set; }

Property Value

bool

CreateMultiMaterialMesh

public bool CreateMultiMaterialMesh { get; set; }

Property Value

bool

DeactivateCombinedChildren

public bool DeactivateCombinedChildren { get; set; }

Property Value

bool

DeactivateCombinedChildrenMeshRenderers

public bool DeactivateCombinedChildrenMeshRenderers { get; set; }

Property Value

bool

DestroyCombinedChildren

public bool DestroyCombinedChildren { get; set; }

Property Value

bool

FolderPath

public string FolderPath { get; set; }

Property Value

string

GenerateUVMap

public bool GenerateUVMap { get; set; }

Property Value

bool

Methods

CombineMeshes(bool)

Combine children's Meshes into one Mesh. Set 'showCreatedMeshInfo' to true if want to show info about created Mesh in the console.

public void CombineMeshes(bool showCreatedMeshInfo)

Parameters

showCreatedMeshInfo bool