Navigation
API > API/Runtime > API/Runtime/Engine
Settings Component for network replicated physics actors Overrides default settings, CVar settings and project settings.
| Name | UNetworkPhysicsSettingsComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsSettingsComponent.h |
| Include Path | #include "Physics/NetworkPhysicsSettingsComponent.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI, Meta=(BlueprintSpawnableComponent))
class UNetworkPhysicsSettingsComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UNetworkPhysicsSettingsComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS UNetworkPhysicsSettingsComponent() |
Physics/NetworkPhysicsSettingsComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~UNetworkPhysicsSettingsComponent() |
Physics/NetworkPhysicsSettingsComponent.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| ObjectToSettings_External | TMap< AActor *, UNetworkPhysicsSettingsComponent * > | Game Thread map of settings component per actor. | Physics/NetworkPhysicsSettingsComponent.h |
| SettingsNetworkPhysicsData_Default | const FNetworkPhysicsSettingsData | Static Initialization | Physics/NetworkPhysicsSettingsComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DefaultReplicationSettings | FNetworkPhysicsSettingsDefaultReplication | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| GeneralSettings | FNetworkPhysicsSettings | Deprecated properties. | Physics/NetworkPhysicsSettingsComponent.h |
|
| NetworkPhysicsComponentSettings | FNetworkPhysicsSettingsNetworkPhysicsComponent | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| PredictiveInterpolationSettings | FNetworkPhysicsSettingsPredictiveInterpolation | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| ResimulationSettings | FNetworkPhysicsSettingsResimulation | Physics/NetworkPhysicsSettingsComponent.h |
|
|
| SettingsDataAsset | TObjectPtr< UNetworkPhysicsSettingsDataAsset > | Physics/NetworkPhysicsSettingsComponent.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| NetworkPhysicsSettings_Internal | FNetworkPhysicsSettingsComponentAsync * | Physics/NetworkPhysicsSettingsComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FNetworkPhysicsSettingsComponentAsync * GetNetworkPhysicsSettings_Internal() |
Get the settings internal to the PhysicsThread (Only access construct on the Physics Thread) | Physics/NetworkPhysicsSettingsComponent.h | |
const FNetworkPhysicsSettingsData & GetSettings() |
Get the settings, on the game thread | Physics/NetworkPhysicsSettingsComponent.h | |
TWeakPtr< const FNetworkPhysicsSettingsData > GetSettings_Internal() |
Get the settings, on the physics thread | Physics/NetworkPhysicsSettingsComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginPlay () |
Begins Play for the component. | Physics/NetworkPhysicsSettingsComponent.h | |
virtual void InitializeComponent () |
Initializes the component. | Physics/NetworkPhysicsSettingsComponent.h | |
virtual void OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | Physics/NetworkPhysicsSettingsComponent.h | |
virtual void OnUnregister () |
Called when a component is unregistered. | Physics/NetworkPhysicsSettingsComponent.h | |
virtual void UninitializeComponent () |
Handle this component being Uninitialized. | Physics/NetworkPhysicsSettingsComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UNetworkPhysicsSettingsComponent * GetSettingsForActor
(
AActor* Owner |
Get the settings component for a specified actor | Physics/NetworkPhysicsSettingsComponent.h |