Skip to content

resolveAssetUrlById

resolveAssetUrlById(assetId, options?): string | undefined

Defined in: packages/declarative-hex-worlds/src/asset-source/placement-resolution.ts:88

Resolve a model URL for a bare asset id (no placement) from the explicit assetUrls map or the manifest catalog. Used by transition-edge resolution (RFC0-9b), where the input is a variant asset id (e.g. hex_coast_B) rather than a placement — so the placement-only paths (metadata.sourceUrl, fallback) don’t apply. Returns undefined when neither the map nor the catalog resolves.

string

GameboardPlacementAssetUrlOptions = {}

string | undefined