class
FSceneEnvironmentSerializer
A scene's Environment and PostProcess blocks, written through the reflection serializer instead of by hand: only fields that differ from the struct defaults are saved (UE's bOverride_* delta), enums are stored by NAME so inserting a value no longer remaps every saved level, and each block carries a _version with a migration from the old all-fields, integer-enum form.
- Module
- Game
- Header
#include "Scene/SceneEnvironmentSerializer.h"- Namespace
Mowo
The descriptors are deliberately not registered in the ReflectionRegistry: the environment is not a component and must not appear in Add Component.
Properties
| Type | Name | Description |
|---|---|---|
static constexpr uint32_t | kVersion | Default 2. |
Public functions
| Returns | Name | Description |
|---|---|---|
const TypeDescriptor& | EnvironmentDescriptor | |
const TypeDescriptor& | PostProcessDescriptor | |
const TypeDescriptor& | NavigationDescriptor | |
const TypeDescriptor& | AgentTypeDescriptor | |
void | Write | |
void | Read | Exact restore: every reflected field the node does not name goes back to its default, so loading a sparse block into a reused scene cannot keep the previous level's values. |
Function details
EnvironmentDescriptor
C++
static const TypeDescriptor& EnvironmentDescriptor()PostProcessDescriptor
C++
static const TypeDescriptor& PostProcessDescriptor()NavigationDescriptor
C++
static const TypeDescriptor& NavigationDescriptor()AgentTypeDescriptor
C++
static const TypeDescriptor& AgentTypeDescriptor()Write
C++
static void Write(const SceneEnvironment& env, MdfNode& envNode)Read
C++
static void Read(const MdfNode& envNode, SceneEnvironment& env)Exact restore: every reflected field the node does not name goes back to its default, so loading a sparse block into a reused scene cannot keep the previous level's values.
Generated from Scene/SceneEnvironmentSerializer.h via game.json · Nov 5, 2026Version 1.0.0