Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics
Inheritance Hierarchy
- Chaos::TDataRewindHistory< DataType >
- TNetRewindHistory
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include | #include "Physics/NetworkPhysicsComponent.h" |
Syntax
template<typename DataType>
struct TNetRewindHistory : public Chaos::TDataRewindHistory< DataType >
Remarks
Templated data history, holding a data buffer
Constructors
| Type | Name | Description | |
|---|---|---|---|
TNetRewindHistory
(
const int32 FrameCount |
|||
TNetRewindHistory
(
const int32 FrameCount, |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDataRange
(
const int32 FromFrame, |
||
| TUniquePtr< Chaos::FBaseRewindHistory > | Clone () |
||
| bool | CopyAllData
(
Chaos::FBaseRewindHistory& OutHistory, |
||
| bool | |||
| TUniquePtr< Chaos::FBaseRewindHistory > | CopyFramesWithOffset
(
const uint32 StartFrame, |
||
| int32 | CountValidData
(
const uint32 StartFrame, |
||
| TUniquePtr< Chaos::FBaseRewindHistory > | CreateNew () |
||
| void | Debug the data from the archive | ||
| void | Print custom string along with values for each entry in history | ||
| void | NetSerialize
(
FArchive& Ar, |
||
| int32 | ReceiveNewData
(
Chaos::FBaseRewindHistory& NewData, |
||
| void | SetImportant
(
const bool bImportant, |
||
| bool | ShouldRecordReceivedDataOnFrame
(
const DataType& ReceivedData |
Check if we should record received data into history. | |
| bool | TriggerRewindFromNewData
(
DataType& NewData |
Compares new received data with local predicted data and returns true if they differ enough to trigger a resimulation | |
| void | ValidateDataInHistory
(
const void* ActorComponent |
Typedefs
| Name | Description |
|---|---|
| Super |