Illutions Engine API - v0.26.0
    Preparing search index...

    Interface ClipEvent

    Fired when a clip starts, completes, is canceled, fades its weight, or changes its playback speed.

    interface ClipEvent {
        action?: AnimationAction;
        clipName: string;
        fadeMode?: ActionFadeMode;
        fct: string;
        type:
            | "CLIP_START"
            | "CLIP_COMPLETE"
            | "CLIP_CANCEL"
            | "CLIP_FADE_START"
            | "CLIP_FADE_COMPLETE"
            | "CLIP_SPEED_START"
            | "CLIP_SPEED_COMPLETE";
    }
    Index
    action?: AnimationAction

    The associated animation action, when available.

    clipName: string

    The name of the affected THREE.AnimationClip.

    fadeMode?: ActionFadeMode

    Whether the clip weight is fading in or out.

    fct: string

    The name of the calling method.

    type:
        | "CLIP_START"
        | "CLIP_COMPLETE"
        | "CLIP_CANCEL"
        | "CLIP_FADE_START"
        | "CLIP_FADE_COMPLETE"
        | "CLIP_SPEED_START"
        | "CLIP_SPEED_COMPLETE"

    Identifies this event type.