Skip to content

WorldPersistent

const WorldPersistent: ComponentDef<{ }>

Defined in: residency/components.ts:55

Keeps the entity’s whole subtree out of the partition — the player, the camera, the sun, the services that outlive any place.

NOT scene persistence (setPersistent, which is about surviving a scene SWITCH): this decides which cooked scene an entity is written into.