@modoki/engine / index / MutableEntity
Interface: MutableEntity
Minimal on-disk entity shape (matches editor SerializedEntity / runtime SceneEntityEntry — kept structural to avoid a cross-layer import).
Scene & Prefabs
guid?
optionalguid?:string
Prefab INSTANCE nodes store their identity guid at the node top level (not in EntityAttributes, which comes from the expanded prefab).
id
id:
number
name?
optionalname?:string
overrides?
optionaloverrides?:Record<number,Record<string,Record<string,unknown>>>
prefab?
optionalprefab?:string
traits
traits:
Record<string,Record<string,unknown> |boolean>