struct

MWorld::FBackingEntityHooks

Backing-entity creation hooks. Without them, backing entities are raw ECS entities — fine for tests, but INVISIBLE to the renderer/editor, which iterate Scene's entity metadata (name/layer/active), not the raw World. A Scene installs hooks that route through Scene::CreateEntity/DestroyEntity so spawned actors show up in the viewport and Outliner.

Module
Game
Header
#include "Game/MWorld.h"
Namespace
Mowo

Properties

TypeNameDescription
std::function<EntityID(AActor* actor)>create
std::function<void(EntityID entity)>destroy
Generated from Game/MWorld.h via game.json · Nov 5, 2026Version 1.0.0