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

    Interface AnimationJSON

    One track of a QuarksPrefabJSON.

    interface AnimationJSON {
        clipUUID?: string;
        duration: number;
        loop: boolean;
        startTime: number;
        targetUUID: string;
        type: "clip" | "ps" | "three";
    }
    Index
    clipUUID?: string

    A 'clip' track's clip id on that node.

    duration: number

    How long it lasts, in seconds.

    loop: boolean

    Whether the track restarts when it ends.

    startTime: number

    When the track starts, in seconds.

    targetUUID: string

    The id of the node it drives.

    type: "clip" | "ps" | "three"

    What it plays; see AnimationData.type. Older files write a clip track as 'three'.