Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UNetworkPhysicsComponent
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnqueueScheduledActionInstance_External
(
TInstancedStruct< FNetworkPhysicsActionPayload >&& ActionInstance, |
Enqueue a TInstancedStruct with an action based on FNetworkPhysicsActionPayload, to be executed after a delay of | Physics/NetworkPhysicsComponent.h | |
void EnqueueScheduledActionInstance_External
(
TInstancedStruct< FNetworkPhysicsActionPayload >&& ActionInstance, |
Enqueue a TInstancedStruct with an action based on FNetworkPhysicsActionPayload, to be executed after a delay of | Physics/NetworkPhysicsComponent.h |
EnqueueScheduledActionInstance_External(TInstancedStruct< FNetworkPhysicsActionPayload > &&, const UObject *, const float, const bool)
Description
Enqueue a TInstancedStruct with an action based on FNetworkPhysicsActionPayload, to be executed after a delay of
| Name | EnqueueScheduledActionInstance_External |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/NetworkPhysicsComponent.cpp |
void EnqueueScheduledActionInstance_External
(
TInstancedStruct < FNetworkPhysicsActionPayload > && ActionInstance,
const UObject * SourceObject,
const float DelaySeconds,
const bool bReliable
)
Parameters
| Name | Remarks |
|---|---|
| DelaySeconds. | |
| SourceObject | is the object that is the source of this action, not necessarily the object that the action should run on. |
| bReliable | if true, the action will be sent via a reliable RPC instead of unreliable property replication. |
EnqueueScheduledActionInstance_External(TInstancedStruct< FNetworkPhysicsActionPayload > &&, const uint32, const float, const bool)
Description
Enqueue a TInstancedStruct with an action based on FNetworkPhysicsActionPayload, to be executed after a delay of
| Name | EnqueueScheduledActionInstance_External |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/PhysicsEngine/NetworkPhysicsComponent.cpp |
void EnqueueScheduledActionInstance_External
(
TInstancedStruct < FNetworkPhysicsActionPayload > && ActionInstance,
const uint32 SourceId,
const float DelaySeconds,
const bool bReliable
)
Parameters
| Name | Remarks |
|---|---|
| DelaySeconds. | |
| SourceId | can be left at 0 for actions triggered by the owner of this implementation, else if triggered by an external actor pass in a network stable hash. |
| bReliable | if true, the action will be sent via a reliable RPC instead of unreliable property replication. Note: On the game thread a network stable hash can be retrieved from replicated UObjects or level baked UObjects (for example actors) via UE::NetworkPhysicsUtils::GetNetworkStableHash_External(UObject); |