Search Results for

    Show / Hide Table of Contents

    Method RotationAxis

    RotationAxis(Vector3, Single)

    Creates a quaternion given a rotation and an axis.

    Declaration
    public static Quaternion RotationAxis(Vector3 axis, float angle)
    Parameters
    Type Name Description
    Vector3 axis

    The axis of rotation.

    System.Single angle

    The angle of rotation in radians.

    Returns
    Type Description
    Quaternion

    The newly created quaternion.

    ☀
    ☾
    Back to top Copyright (C) 2015 crosire - zlib
    Generated with DocFX