Taos API Reference
    Preparing search index...

    Interface ScriptComponentDoc

    A custom component authored as a TypeScript script under Content/. script is the stable guid of the .ts asset (location-independent, like the asset refs on GltfModelDoc/ParticleSystemDoc). The editor resolves the guid, transpiles the file, and instantiates its default-exported Component subclass at load time.

    interface ScriptComponentDoc {
        type: "Script";
        script: string;
    }
    Index

    Properties

    Properties

    type: "Script"
    script: string