Class MeshCombiner
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.
Inheritance
System.Object
MeshCombiner
Assembly: Assembly-CSharp.dll
Syntax
public class MeshCombiner : MonoBehaviour
Properties
|
Improve this Doc
View Source
CombineInactiveChildren
Declaration
public bool CombineInactiveChildren { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CreateMultiMaterialMesh
Declaration
public bool CreateMultiMaterialMesh { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeactivateCombinedChildren
Declaration
public bool DeactivateCombinedChildren { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DeactivateCombinedChildrenMeshRenderers
Declaration
public bool DeactivateCombinedChildrenMeshRenderers { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
DestroyCombinedChildren
Declaration
public bool DestroyCombinedChildren { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
FolderPath
Declaration
public string FolderPath { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GenerateUVMap
Declaration
public bool GenerateUVMap { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
CombineMeshes(Boolean)
Combine children's Meshes into one Mesh. Set 'showCreatedMeshInfo' to true if want to show info about created Mesh in the console.
Declaration
public void CombineMeshes(bool showCreatedMeshInfo)
Parameters
Type |
Name |
Description |
System.Boolean |
showCreatedMeshInfo |
|