Navigation
API > API/Runtime > API/Runtime/Chaos
Inheritance Hierarchy
- FBaseRewindHistory
- TDataRewindHistory
References
| Module | Chaos |
| Header | /Engine/Source/Runtime/Experimental/Chaos/Public/RewindData.h |
| Include | #include "RewindData.h" |
Syntax
struct FBaseRewindHistory
Remarks
Base rewind history used in the rewind data
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDataRange
(
const int32 FromFrame, |
Call ApplyData on each frame data within range | |
| bool | ApplyInputs
(
const int32 ApplyFrame, |
Legacy interface to apply inputs | |
| TUniquePtr< FBaseRewindHistory > | Clone () |
Create a polymorphic copy of the history | |
| bool | CopyAllData
(
Chaos::FBaseRewindHistory& OutHistory, |
Copy all data from local history into into | |
| bool | CopyData
(
Chaos::FBaseRewindHistory& OutHistory, |
Copy data from local history into | |
| TUniquePtr< FBaseRewindHistory > | CopyFramesWithOffset
(
const uint32 StartFrame, |
Create a polymorphic copy of only a range of frames, applying the frame offset to the copies | |
| int32 | CountValidData
(
const uint32 StartFrame, |
Find how many entries are valid in frame range | |
| TUniquePtr< FBaseRewindHistory > | CreateNew () |
Create a new, empty instance with the same concrete type as this object | |
| void | Print custom string along with values for each entry in history | ||
| void | Get arrays of frame values for each entry in the history | ||
| void | DebugDatas
(
const Chaos::FBaseRewindHistory& NewDatas, |
||
| bool | ExtractData
(
const int32 ExtractFrame, |
Extract data from the history buffer at a given time | |
| bool | ExtractDatas
(
const int32 ExtractFrame, |
||
| const int32 | Return the least up to date frame entry in history, returns INT_MAX if no frame was found | ||
| const int32 | Return the max size of the history | ||
| const int32 | Return the most up to date frame entry in history, returns INDEX_NONE if no frame was found | ||
| const bool | Return if history has valid data | ||
| bool | HasValidData
(
const int32 ValidFrame |
Check if the history buffer contains an entry for the given frame | |
| bool | HasValidDatas
(
const int32 ValidFrame |
||
| void | Initialize () |
Initialize history | |
| void | Iterate over and merge data | ||
| void | NetSerialize
(
FArchive& Ar, |
Serialize the data to or from a network archive | |
| int32 | ReceiveNewData
(
FBaseRewindHistory& NewData, |
Copy new data (received from the network) into this history, returns frame to resimulate from if | |
| void | ReceiveNewDatas
(
FBaseRewindHistory& NewDatas, |
||
| bool | RecordData
(
const int32 RecordFrame, |
Record data into the history buffer at a given time | |
| bool | RecordDatas
(
const int32 RecordFrame, |
||
| void | ResetFast () |
Perform a fast reset, marking the data history as reset but not clearing the data or resetting collections | |
| void | ResizeDataHistory
(
const int32 FrameCount, |
Resize the history | |
| bool | RewindStates
(
const int32 RewindFrame, |
Legacy interface to rewind states | |
| void | SetImportant
(
const bool bImportant, |
Mark frame important or unimportant | |
| void | SetPackageMap
(
UPackageMap* InPackageMap |
Set the package map for serialization | |
| void | ValidateDataInHistory
(
const void* ActorComponent |
Validate data in history buffer received from clients on the server |