Skip to content

GameboardPlacementObjectSyncOptions

Defined in: src/three/three.ts:152

Options for reconciling a Three.js scene with a placement list.

optional animationUrlResolver?: (placement) => string | undefined

Defined in: src/three/three.ts:64

App-specific animation URL resolver.

GameboardPlacementSpec

string | undefined

LoadGameboardPlacementObjectOptions.animationUrlResolver


optional animationUrls?: Readonly<Record<string, string>>

Defined in: src/three/three.ts:62

Explicit asset-id-to-animation-URL map.

LoadGameboardPlacementObjectOptions.animationUrls


optional assetUrls?: Readonly<Record<string, string>>

Defined in: src/three/three.ts:47

Explicit asset-id-to-URL overrides, useful for local-only Vite @fs assets.

LoadGameboardPlacementObjectOptions.assetUrls


optional baseUrl?: string | URL

Defined in: src/manifest/schema.ts:147

Base URL applied to every model path when no edition-specific base exists.

LoadGameboardPlacementObjectOptions.baseUrl


optional bootstrapAssetRoot?: string | URL

Defined in: src/manifest/schema.ts:160

Consumer’s bootstrap asset root (per PRD RB3).

When set, manifest sourcePath values (e.g. buildings/blue/foo.gltf) are joined with this root to produce the resolved URL — <bootstrapAssetRoot>/<sourcePath> (flat layout, no subdirectory prefix).

Honored only when neither baseUrl nor a matching editionBaseUrls entry is set; explicit base URLs always win.

LoadGameboardPlacementObjectOptions.bootstrapAssetRoot


optional catalog?: ManifestAssetCatalog

Defined in: src/three/three.ts:45

Manifest or manifest bundle used for packaged FREE/EXTRA asset ids.

LoadGameboardPlacementObjectOptions.catalog


optional clipName?: string

Defined in: src/three/three.ts:94

Optional clip name override. Defaults to placement metadata when present.

LoadGameboardPlacementObjectOptions.clipName


optional clipNameResolver?: (placement) => string | undefined

Defined in: src/three/three.ts:163

Per-placement clip-name resolver.

GameboardPlacementSpec

string | undefined


optional deltaSeconds?: number

Defined in: src/three/three.ts:161

Optional animation delta to advance during this sync pass.


optional editionBaseUrls?: Partial<Record<"free" | "extra", string | URL>>

Defined in: src/manifest/schema.ts:149

Per-edition base URLs, useful when FREE is packaged and EXTRA is local.

LoadGameboardPlacementObjectOptions.editionBaseUrls


optional fallback?: (placement) => string | undefined

Defined in: src/three/three.ts:49

Last-chance resolver for app-specific asset stores.

GameboardPlacementSpec

string | undefined

LoadGameboardPlacementObjectOptions.fallback


loader: GameboardGltfLoader

Defined in: src/three/three.ts:92

GLTF-compatible async loader.

LoadGameboardPlacementObjectOptions.loader


optional parent?: Object3D<Object3DEventMap>

Defined in: src/three/three.ts:155

Parent object to receive loaded placement objects.


optional playAnimation?: boolean

Defined in: src/three/three.ts:96

Whether to start the selected animation immediately. Defaults to true.

LoadGameboardPlacementObjectOptions.playAnimation


optional records?: Map<string, LoadedGameboardPlacementObject>

Defined in: src/three/three.ts:157

Mutable cache keyed by placement id.


optional removeStale?: boolean

Defined in: src/three/three.ts:159

Remove cached objects that no longer appear in the placement list.


optional throwOnError?: boolean

Defined in: src/three/three.ts:165

Rethrow load errors instead of collecting them in the result.