@lakuna/umath
    Preparing search index...

    Function fromMatrix4

    • Create a dual quaternion from the given four-by-four matrix. Equivalent to (but faster than) fromRotationTranslation(getRotation(matrix, createQuaternionLike()), getTranslation(matrix, createVector3Like()), out).

      Type Parameters

      Parameters

      • matrix: Matrix4Like

        The matrix.

      • out: T

        The dual quaternion to store the result in.

      Returns T

      The dual quaternion.