Taos API Reference
    Preparing search index...

    Interface AnimationChannel

    A single animation track: keyframes for one property of one node.

    nodeIndex is the authoritative glTF node target. jointIndex is set only when that node is a skin joint, so sampleClip (joint poses) and sampleNodeChannels (scene-node TRS + morph weights) can each pick the channels they own.

    interface AnimationChannel {
        nodeIndex: number;
        jointIndex?: number;
        skinIndex?: number;
        property: "rotation" | "scale" | "translation" | "weights" | "pointer";
        times: Float32Array;
        values: Float32Array;
        interpolation: Interpolation;
        weightCount?: number;
        pointer?: string;
        componentCount?: number;
    }
    Index

    Properties

    nodeIndex: number

    glTF node this channel targets.

    jointIndex?: number

    Index into the skeleton's joint array, when nodeIndex is a joint.

    skinIndex?: number

    Which skin owns jointIndex (0 when single-skinned).

    property: "rotation" | "scale" | "translation" | "weights" | "pointer"

    Which property this channel animates. pointer is a KHR_animation_pointer channel targeting an arbitrary property via pointer.

    Keyframe times in seconds, sorted ascending.

    values: Float32Array

    Packed keyframe values (3 per frame for translation/scale, 4 for rotation, weightCount for weights; 3× that for CUBICSPLINE in/value/out tangents).

    interpolation: Interpolation
    weightCount?: number

    Number of morph weights per keyframe — set only for weights channels.

    pointer?: string

    KHR_animation_pointer JSON pointer (e.g. /materials/0/emissiveFactor).

    componentCount?: number

    Components per keyframe for a pointer channel (from its output accessor).