docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ToVector4

    ToVector4(Quaternion)

    Converts a Quaternion into a Vector4. Member-wise copy.

    Declaration
    public static Vector4 ToVector4(Quaternion q)
    Parameters
    Type Name Description
    Quaternion q

    The Quaternion to convert.

    Returns
    Type Description
    Vector4

    The given value converted to a Vector4.

    In This Article
    Back to top
    Copyright © 2024 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)