docs.unity.cn
    Show / Hide Table of Contents

    Method decompose

    decompose(AffineTransform, out float3, out quaternion, out float3)

    Decomposes the AffineTransform in translation, rotation and scale.

    Declaration
    public static void decompose(AffineTransform a, out float3 translation, out quaternion rotation, out float3 scale)
    Parameters
    Type Name Description
    AffineTransform a

    The AffineTransform

    float3 translation

    The decomposed translation vector of the AffineTransform.

    quaternion rotation

    The decomposed rotation quaternion of the AffineTransform.

    float3 scale

    The decomposed scale of the AffineTransform.

    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