Skip to content

widgetToPrefab

widgetToPrefab(build, name): PrefabData

Defined in: ui/widgets/toPrefab.ts:87

Run build against a recording World and serialise the resulting subtree to a PrefabData named name. build returns the root entity (as the factories do).

(world) => number

string

PrefabData