babylon.quarks - v1.0.0
    Preparing search index...

    Interface QuarksTimelineClip

    A clip a QuarksPrefab timeline can drive, such as a Babylon AnimationGroup. Every member is optional; the prefab calls only what is there.

    interface QuarksTimelineClip {
        duration?: number;
        pause?: () => void;
        play?: () => void;
        setTime?: (time: number) => void;
        stop?: () => void;
        uuid?: string;
    }
    Index
    duration?: number

    Length in seconds, used when the track gives none.

    pause?: () => void

    Called when the prefab pauses.

    play?: () => void

    Called when the timeline enters the track.

    setTime?: (time: number) => void

    Called while scrubbing with QuarksPrefab.setTime, with the time into the track in seconds.

    stop?: () => void

    Called when the timeline leaves the track or the prefab stops.

    uuid?: string

    Names the clip in a saved prefab, so it can be found again on load.