docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum BasisTransformation

    How to transform from the USD basis (typically right-handed) to Unity (left-handed).

    Namespace: Unity.Formats.USD
    Assembly: solution.dll
    Syntax
    public enum BasisTransformation

    Fields

    Name Description
    FastWithNegativeScale

    Apply a single negative scale and rotation at the root of the scene hierarchy. Fastest, but may introduce additional complications when later exporting.

    None

    Preform no transformation; should only be used when the USD file is known to contain data which was (non-portably) stored in a left-handed basis.

    SlowAndSafe

    Transform to left-handed basis by processing all positions, triangles, transforms, and primvar data. While slower, this is the safest option.

    SlowAndSafeAsFBX

    Transform to left-handed basis by processing all positions, triangles, transforms, and primvar data. It transforms to match the basis transformation of FBX which is from (X,Y,Z) to (-X,Y,Z) instead of the standard (SlowAndSafe option) (X,Y,Z) to (X,Y,-Z). This is not a conventional behavior and this option is here only to allow consistency between geometry importers.

    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)