Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FNetworkPhysicsData
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void MergeData
(
const FNetworkPhysicsData& FromData |
Define how to merge data together | Physics/NetworkPhysicsComponent.h | |
virtual void MergeData
(
const FNetworkPhysicsPayload& FromData |
Define how to merge data together | Physics/NetworkPhysicsComponent.h |
MergeData(const FNetworkPhysicsData &)
Description
Define how to merge data together
| Name | MergeData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
virtual void MergeData
(
const FNetworkPhysicsData & FromData
)
Parameters
| Name | Remarks |
|---|---|
| FromData | is data from a previous frame that is getting merged into the current data. EXAMPLE: Simulated proxies might receive two inputs at the same time after having used the same input twice, to not miss any important inputs we need to take both inputs into account and to not get behind in simulation we need to apply them both at the same simulation tick meaning we merge the two new inputs to one input. |
MergeData(const FNetworkPhysicsPayload &)
Description
Define how to merge data together
| Name | MergeData |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
virtual void MergeData
(
const FNetworkPhysicsPayload & FromData
)
Parameters
| Name | Remarks |
|---|---|
| FromData | is data from a previous frame that is getting merged into the current data. EXAMPLE: Simulated proxies might receive two inputs at the same time after having used the same input twice, to not miss any important inputs we need to take both inputs into account and to not get behind in simulation we need to apply them both at the same simulation tick meaning we merge the two new inputs to one input. |