Class MeshImporter
Responsible for importing UnityEngine.Mesh data to a ProBuilderMesh component.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
public sealed class MeshImporter
Constructors
Name | Description |
---|---|
MeshImporter(GameObject) | Creates a new ProBuilderMesh importer instance from the specified GameObject. |
MeshImporter(Mesh, Material[], ProBuilderMesh) | Creates a new ProBuilderMesh importer instance from the specified mesh and materials. |
Methods
Name | Description |
---|---|
Import(MeshImportSettings) | Imports mesh data from a GameObject's sharedMesh and sharedMaterials properties. |