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

TypeNameDescription
static constexpr uint32_tkVersionDefault 2.

Public functions

ReturnsNameDescription
const TypeDescriptor&EnvironmentDescriptor
const TypeDescriptor&PostProcessDescriptor
const TypeDescriptor&NavigationDescriptor
const TypeDescriptor&AgentTypeDescriptor
voidWrite
voidReadExact 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()
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