Navigation
API > API/Runtime > API/Runtime/Engine
Base for helper, to create data and data history
| Name | FNetworkPhysicsDataHelper |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
Syntax
struct FNetworkPhysicsDataHelper
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FNetworkPhysicsDataHelper() |
Physics/NetworkPhysicsComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TUniquePtr< FNetworkPhysicsDataHelper > Clone() |
Physics/NetworkPhysicsComponent.h | ||
bool CopyAlteredData
(
const Chaos::FBaseRewindHistory* From, |
Copy data from the rewind history to the networked data collection and only copy data that has been altered since it was created (i.e. the client created an input that the server later altered) | Physics/NetworkPhysicsComponent.h | |
void CopyData
(
const FNetworkPhysicsDataCollection& From, |
Copy data from the networked data collection to the rewind history | Physics/NetworkPhysicsComponent.h | |
void CopyData
(
const Chaos::FBaseRewindHistory* From, |
Copy data from the rewind history to the networked data collection | Physics/NetworkPhysicsComponent.h | |
void CopyDataGrowingOrdered
(
const FNetworkPhysicsDataCollection& From, |
Copy data from the networked data collection to the rewind history and store the data ordered instead of circular and grow the history to fit all unique data | Physics/NetworkPhysicsComponent.h | |
void CopyIncrementalData
(
const Chaos::FBaseRewindHistory* From, |
Copy data from the rewind history to the networked data collection and only copy data that is newer than the already existing data in the data collection | Physics/NetworkPhysicsComponent.h | |
TUniquePtr< FNetworkPhysicsPayload > CreateUniqueData() |
Physics/NetworkPhysicsComponent.h | ||
TUniquePtr< Chaos::FBaseRewindHistory > CreateUniqueRewindHistory
(
const int32 Size |
Physics/NetworkPhysicsComponent.h | ||
bool IsUsingLegacyData() |
Physics/NetworkPhysicsComponent.h | ||
void ValidateData
(
Chaos::FBaseRewindHistory* History, |
Call the ValidateData callback on the external implementation interface for data in the provided rewind history | Physics/NetworkPhysicsComponent.h | |
void ValidateData
(
Chaos::FBaseRewindHistory* History, |
Call the ValidateData callback on the internal implementation interface for data in the provided rewind history | Physics/NetworkPhysicsComponent.h |