Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Net > FRepLayout
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Net/RepLayout.h |
Include | #include "Net/RepLayout.h" |
Source | /Engine/Source/Runtime/Engine/Private/RepLayout.cpp |
FRepStateStaticBuffer CreateShadowBuffer
&40;
const FConstRepObjectDataBuffer Source
&41; const
Remarks
Creates and initialize a new Shadow Buffer.
Shadow Data / Shadow States are used to cache property data so that the Object's state can be compared between frames to see if any properties have changed. They are also used on clients to keep track of RepNotify state.
This includes:
- Allocating memory for all Properties in the class.
- Constructing instances of each Property.
- Copying the values of the Properties from given object.
Parameters
Name | Description |
---|---|
Source | Memory buffer storing object property data. |