docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class XformImporter

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

    Inheritance
    object
    XformImporter
    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 XformImporter

    Methods

    Name Description
    BuildSceneRoot(Scene, Transform, SceneImportOptions)

    Build the root of a scene under which more USD data will be imported. If the handedness is changed here, no subsequent changes are required below, however the root will contain a negative scale.

    BuildXform(Matrix4x4, GameObject, SceneImportOptions)
    BuildXform(SdfPath, XformableSample, GameObject, SceneImportOptions, Scene)

    Copies the transform value from USD to Unity, optionally changing handedness in the process.

    ImportXform(ref Matrix4x4, SceneImportOptions)

    Imports a matrix transform, correctly handling the change of basis.

    UndoRootTransform(Scene, UsdAsset, ref Vector3, ref Quaternion)
    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)