Bitbybit Docs
    Preparing search index...

    Class QuaternionToMatrixDto (Inputs.OCCT)

    A quaternion for transforms.quaternionToMatrix, which builds the matrix of that rotation.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalquaternion: [number, number, number, number]

      Returns QuaternionToMatrixDto

    Properties

    quaternion: [number, number, number, number]

    The rotation as [x, y, z, w]; it is normalized before use, and [0, 0, 0, 1] is no rotation.

    [0, 0, 0, 1]