Taos API Reference
    Preparing search index...

    Interface AnimatorDoc

    A declarative skeletal Animator: a glTF model (skeleton + clips) driven by a blend-tree / state-machine graph whose blend positions and transitions read named parameters a script sets each frame (see taos buildAnimatorGraph). The richer counterpart to GltfModelDoc's single-clip playback.

    interface AnimatorDoc {
        type: "Animator";
        asset?: string;
        skinIndex?: number;
        parameters?: AnimParamDoc[];
        rootMotion?: { joint: number; mode?: "xz" | "xyz"; maxDelta?: number };
        root?: AnimNodeDoc;
        editorLayout?: Record<string, [number, number]>;
    }
    Index

    Properties

    type: "Animator"
    asset?: string

    Asset guid of the glTF model providing the skeleton + clips.

    skinIndex?: number
    parameters?: AnimParamDoc[]
    rootMotion?: { joint: number; mode?: "xz" | "xyz"; maxDelta?: number }

    Root-motion extraction config.

    The blend-graph root (usually a stateMachine).

    editorLayout?: Record<string, [number, number]>

    Editor-only: [x, y] canvas positions of state-machine nodes by state name, for the Animation graph panel. The runtime ignores this.