docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MeshImporter

    A collection of methods used for importing USD Mesh data into Unity.

    Inheritance
    object
    MeshImporter
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)