Class MeshImporter
A collection of methods used for importing USD Mesh data into Unity.
Inherited Members
Namespace: Unity.Formats.USD
Assembly: solution.dll
Syntax
public static class MeshImporter
Methods
Name | Description |
---|---|
BuildMesh(string, SanitizedMeshSample, GeometrySubsets, GameObject, SceneImportOptions, bool, UsdSkelSkinningQuery) | Copy mesh data from USD to Unity with the given import options. |
BuildSkinnedMesh(string, SanitizedMeshSample, GeometrySubsets, GameObject, SceneImportOptions, bool, UsdSkelSkinningQuery) | Copy mesh data from USD to Unity with the given import options, setup for skinning. |
ImportSkinning(string, SanitizedMeshSample, Mesh, UsdSkelSkinningQuery) | Import skin weights and joint indices from USD. |
ReadGeomSubsets(Scene, string) | Reads geometry subsets if authored. If not authored, returns an empty dictionary. |
ShouldCompute(ImportMode) | Returns true if the mode is Compute or ImportOrCompute. |
ShouldImport(ImportMode) | Returns true if the mode is Import or ImportOrCompute. |