AutoMovie API
    Preparing search index...

    Namespace Quaternion

    Pure quaternion math over IAutoMovieQuaternion, components (x, y, z, w) in glTF order.

    Quaternions are the engine's internal rotation representation: the model writes joint angles in degrees, jointToQuaternion turns them into quaternions, and the renderer consumes those. Unless a function says otherwise, a rotation argument must be a unit quaternion. Every function leaves its inputs unchanged and returns a new value.

    angle
    DEG2RAD
    fromAxisAngle
    fromEuler
    identity
    inverse
    multiply
    normalize
    rotateVector
    slerp
    angleAfterNormalize
    prepareAxisAngle
    prepareSlerp
    rotateVectorY