Skip to content

translateAssetHandles

translateAssetHandles(components, pathForHandle): SnapshotComponent[]

Defined in: runtime/worldSnapshot.ts:66

Rewrite handle-valued asset fields to the load paths behind them. A World stores handles; an inspector speaks refs, and a handle shown raw reads as an empty slot. Handles nobody can name pass through untouched.

readonly SnapshotComponent[]

(kind, handle) => string | null

SnapshotComponent[]