Search Results for

    Show / Hide Table of Contents

    Constructor Quaternion

    Quaternion(Single, Single, Single, Single)

    Initializes a new instance of the Quaternion structure.

    Declaration
    public Quaternion(float x, float y, float z, float w)
    Parameters
    Type Name Description
    System.Single x

    The X component of the quaternion.

    System.Single y

    The Y component of the quaternion.

    System.Single z

    The Z component of the quaternion.

    System.Single w

    The W component of the quaternion.

    Quaternion(Vector3, Single)

    Initializes a new instance of the Quaternion structure.

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

    The axis of rotation.

    System.Single angle

    The angle of rotation in radians.

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