Skip to main content

Module scene

Module scene 

Source
Expand description

Scene = ECS world + environment settings, saved as readable JSON.

Structs§

Scene
ECS world plus environment settings. Default registers every built-in component.
SceneSettings
Serializable scene environment. Missing JSON fields use these defaults.

Functions§

duplicate
Deep-copies registered components of a non-transient subtree. The copy is a sibling of the original; only the root gets a (Copy) suffix. Runtime-only components are omitted and name-based references are not remapped. Traversal terminates even for malformed cyclic input hierarchies.