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

    Interface AnimationData

    One track on a QuarksPrefab timeline.

    interface AnimationData {
        clip?: QuarksTimelineClip;
        clipUUID?: string;
        duration: number;
        loop: boolean;
        startTime: number;
        target: TransformNode;
        type: "clip" | "ps";
    }

    Hierarchy (View Summary)

    Index

    The clip a 'clip' track plays.

    clipUUID?: string

    The id of the clip on target, written to and read from JSON.

    duration: number

    Duration in seconds

    loop: boolean

    Restart when the track ends instead of letting it finish.

    startTime: number

    Start time in seconds

    target: TransformNode

    The node the track drives: a ParticleEmitter for 'ps', any node for 'clip'.

    type: "clip" | "ps"

    'ps' plays a particle system, 'clip' plays a QuarksTimelineClip: whatever the host registered on the target node, such as a Babylon AnimationGroup (Unity Timeline's Animation Track). Files from three.quarks and before babylon.quarks 0.30 name a clip track 'three'; it is read as 'clip'.