Skip to content

LoadGameboardPlacementObjectOptions

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

Options for loading one placement object.

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

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

App-specific animation URL resolver.

GameboardPlacementSpec

string | undefined

GameboardPlacementAnimationUrlOptions.animationUrlResolver


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

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

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

GameboardPlacementAnimationUrlOptions.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.

GameboardPlacementAssetUrlOptions.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.

GameboardPlacementAssetUrlOptions.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.

GameboardPlacementAssetUrlOptions.bootstrapAssetRoot


optional catalog?: ManifestAssetCatalog

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

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

GameboardPlacementAssetUrlOptions.catalog


optional clipName?: string

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

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


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.

GameboardPlacementAssetUrlOptions.editionBaseUrls


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

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

Last-chance resolver for app-specific asset stores.

GameboardPlacementSpec

string | undefined

GameboardPlacementAssetUrlOptions.fallback


loader: GameboardGltfLoader

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

GLTF-compatible async loader.


optional playAnimation?: boolean

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

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