Taos API Reference
    Preparing search index...

    Interface KeyframeAnimatorDoc

    A transform keyframe clip authored in the Timeline panel (Godot's AnimationPlayer, transform tracks). Played by taos KeyframeAnimator.

    interface KeyframeAnimatorDoc {
        type: "KeyframeAnimator";
        clip?: {
            duration: number;
            loop: boolean;
            tracks: {
                property: "position" | "rotation" | "scale";
                times: number[];
                values: number[];
            }[];
        };
        playing?: boolean;
    }
    Index

    Properties

    Properties

    type: "KeyframeAnimator"
    clip?: {
        duration: number;
        loop: boolean;
        tracks: {
            property: "position" | "rotation" | "scale";
            times: number[];
            values: number[];
        }[];
    }
    playing?: boolean