struct
Scene::EntityInfo
Entity metadata (stored alongside ECS World)
- Module
- Game
- Header
#include "Scene/Scene.h"- Namespace
Mowo
Properties
| Type | Name | Description |
|---|---|---|
EntityID | id | UUID-based persistent ID |
std::string | name | |
std::string | tag | Default "Untagged". |
uint32_t | layer | Layer index (0-31) for rendering/physics filtering Default 0. |
bool | active | Active state (inactive entities skipped by systems) Default true. |
bool | editorHidden | Editor-only: hide from scene view Default false. |
bool | editorLocked | Default false. |
std::string | folderPath | Editor-only: outliner organizational folder ("" = none) |
std::string | prefabSourcePath | Editor-only: path to source prefab (empty if not a prefab instance) |
int32_t | prefabSourceIndex | Source prefab entry index this instance entity came from (-1 = none) Default -1. |
bool | runtimeSpawned | Default false. |
bool | transient | Default false. |
std::unordered_map<std::string, std::string> | prefabOverrides | Prefab override map — key is a reflected component display name ("Transform", "Light", ...), value is that component serialized as a CDO-delta MDF blob (only the properties that differ from the class default). Only present on prefab-instance entities (prefabSourcePath set). CapturePrefabOverride populates it as the user edits an instance; PropagatePrefabInstance rebuilds the entity from the prefab source and then re-applies these blobs, so local edits survive a prefab edit while everything untouched tracks the source. |
std::vector<MDF::MdfNode> | preservedComponents | Component nodes this session could not decode, kept exactly as they were read. A scene opened while the plugin that owns a component is disabled has no live component for the writer to serialize, so before these existed the first save silently deleted every one of them out of the file. Not an ECS component on purpose: nothing that walks components can mistake it for live state, and it needs no reflected type — which is precisely what is missing. |
std::optional<MDF::MdfNode> | preservedActorNode | The entity's Actor node when its class is not registered. Same loss one layer up — an actor that cannot respawn leaves nothing behind for the writer, and the save strips the entity's class, its Visual Script graphs and its variables. |
std::vector<MDF::MdfNode> | carriedUnknownKeys | One node per decoded component holding only the keys its type does not know, put back by the writer. A field a newer build added without a version bump looks like any other unknown key, and before this the first save from an older build deleted it. |
std::optional<MDF::MdfNode> | carriedActorKeys | The same for the live actor: its Actor node's keys its class has no field for (FActorSerializer::ExtractUnknownActorKeys). |
Generated from Scene/Scene.h via game.json · Nov 5, 2026Version 1.0.0