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.
Parameters
Section titled “Parameters”components
Section titled “components”readonly SnapshotComponent[]
pathForHandle
Section titled “pathForHandle”(kind, handle) => string | null