dacha
    Preparing search index...

    Interface SceneSystemOptions

    Options for scene-level systems.

    interface SceneSystemOptions {
        actorSpawner: ActorSpawner;
        assets: Assets;
        globalOptions: Record<string, unknown>;
        resources?: unknown;
        scene: Scene;
        templateCollection: TemplateCollection;
        time: Time;
        world: World;
        [key: string]: unknown;
    }

    Hierarchy

    • SystemOptions
      • SceneSystemOptions

    Indexable

    • [key: string]: unknown
    Index
    actorSpawner: ActorSpawner

    Actor spawner for creating new actors

    assets: Assets

    Registry of project assets

    globalOptions: Record<string, unknown>

    Global engine options

    resources?: unknown

    Optional resources available to the system

    scene: Scene

    Scene this system operates on

    templateCollection: TemplateCollection

    Template collection for actor creation

    time: Time

    Shared timing state

    world: World

    World containing the scene