class
FViewerRegistry
- Module
- Game
- Header
#include "Game/FViewerRegistry.h"- Namespace
Mowo
Type aliases
| Alias | Description |
|---|---|
using FHandle = uint32_t | |
using FProvider = std::function<void(const FViewerQuery& query, std::vector<FViewerInfo>& out)> |
Constructors
| Signature | Name | Description |
|---|---|---|
FViewerRegistry(const FViewerRegistry&) = delete | FViewerRegistry |
Public functions
| Returns | Name | Description |
|---|---|---|
FViewerRegistry& | Get | |
FViewerRegistry& | operator= | |
FHandle | AddProvider | The host's contribution. |
void | RemoveProvider | |
std::vector<FViewerInfo> | GetViewers | Every viewer of the world: the built-in camera answer for a play or game world, plus whatever the providers add. |
std::vector<FViewerInfo> | GetViewers | The same question from a scene system, which is handed the ECS world only. |
void | BindWorld | Kept by MWorld::SetECSWorld so the ECS overload can find the actor world. |
void | UnbindWorld | |
MWorld* | FindWorld |
Function details
FViewerRegistry
C++
FViewerRegistry(const FViewerRegistry&) = deleteGet
C++
static FViewerRegistry& Get()operator=
C++
FViewerRegistry& operator=(const FViewerRegistry&) = deleteAddProvider
C++
FHandle AddProvider(FProvider provider)The host's contribution. The handle removes it again; a provider living in a module that unloads must be removed first or the call lands in unmapped code.
RemoveProvider
C++
void RemoveProvider(FHandle handle)GetViewers
C++
std::vector<FViewerInfo> GetViewers(const MWorld* world) constEvery viewer of the world: the built-in camera answer for a play or game world, plus whatever the providers add.
GetViewers
C++
std::vector<FViewerInfo> GetViewers(const World* ecs) constThe same question from a scene system, which is handed the ECS world only.
BindWorld
C++
void BindWorld(const World* ecs, MWorld* world)Kept by MWorld::SetECSWorld so the ECS overload can find the actor world.
UnbindWorld
C++
void UnbindWorld(const MWorld* world)FindWorld
C++
MWorld* FindWorld(const World* ecs) constGenerated from Game/FViewerRegistry.h via game.json · Nov 5, 2026Version 1.0.0