Navigation
API > API/Runtime > API/Runtime/Engine
These serializers handle FNetworkPhysicsDataCollection and FNetworkPhysicsActionCollection, providing three compression benefits over the default Iris path:
ServerFrame delta-encoding: 1 bit when frame == prev+1 (consecutive frames)
Intra-array delta chaining: element[i] uses element[i-1] as its delta source instead of Iris's tracked per-slot previous state, so consecutive frames in the same batch share the first element's delta baseline across the entire array.
Always-delta serialization: element[0] (and action type boundaries) delta against a zero-initialized default rather than falling back to full serialization. This avoids relying on Iris's baseline acknowledgment, which rarely arrives in time for per-frame data. - FNetworkPhysicsPayloadNetSerializer ------------------------------------- Handles the FNetworkPhysicsPayload base struct which replicate Inputs and States Quantized form: uint32 QuantizedServerFrame = ServerFrame + 1 (unsigned, +1 because ServerFrame is normally an int32 with a default value of INDEX_NONE). Full serialize: packed uint32. Delta serialize: 1 bit bIncremental if delta==+1, else sign + SerializeIntPacked(|delta|).
| Name | FNetworkPhysicsPayloadNetSerializerConfig |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponentNetSerializers.h |
| Include Path | #include "Physics/NetworkPhysicsComponentNetSerializers.h" |
Syntax
USTRUCT ()
struct FNetworkPhysicsPayloadNetSerializerConfig : public FNetSerializerConfig
Inheritance Hierarchy
- FNetSerializerConfig → FNetworkPhysicsPayloadNetSerializerConfig