Search Results for

    Show / Hide Table of Contents

    Method FromToRotation

    FromToRotation(Vector3, Vector3)

    Creates a rotation which rotates from fromDirection to toDirection.

    Declaration
    public static Quaternion FromToRotation(Vector3 fromDirection, Vector3 toDirection)
    Parameters
    Type Name Description
    Vector3 fromDirection
    Vector3 toDirection
    Returns
    Type Description
    Quaternion
    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX