Enum BasisTransformation | USD | 2.0.0-exp.1
docs.unity3d.com
    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
    Syntax
    public enum BasisTransformation

    Fields

    Name Description Value
    FastWithNegativeScale

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

    0
    SlowAndSafe

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

    1
    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.

    2
    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.

    3
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023