Taos API Reference
    Preparing search index...

    Interface GltfModelDoc

    A glTF/GLB skinned-model renderer. asset is the project-root-relative POSIX path of the .glb (omitted when no model is assigned yet — the "Create > Model" menu spawns an empty one to attach a mesh to). The model is rendered through the skinned geometry pass in bind pose.

    interface GltfModelDoc {
        type: "GltfModel";
        asset?: string;
        castShadow?: boolean;
        clip?: string;
        animationSpeed?: number;
        loop?: boolean;
    }
    Index

    Properties

    type: "GltfModel"
    asset?: string
    castShadow?: boolean
    clip?: string

    Name of the animation clip to play (looping by default); omit for bind pose.

    animationSpeed?: number

    Clip playback speed multiplier. Default 1.

    loop?: boolean

    Whether the clip loops. Default true.