Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Physics
Inheritance Hierarchy
- Chaos::TSimCallbackObject< FAsyncNetworkPhysicsComponentInput, FAsyncNetworkPhysicsComponentOutput, Chaos::ESimCallbackOptions::None >
- FAsyncNetworkPhysicsComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Physics/NetworkPhysicsComponent.h |
| Include | #include "Physics/NetworkPhysicsComponent.h" |
Syntax
class FAsyncNetworkPhysicsComponent : public Chaos::TSimCallbackObject< FAsyncNetworkPhysicsComponentInput, FAsyncNetworkPhysicsComponentOutput, Chaos::ESimCallbackOptions::None >
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString | GetActorName () |
Get actor name. | |
| FAsyncNetworkPhysicsComponentOutput & | Get reference to async output for current internal frame and initialize it if not already done. | ||
| const ENetRole | GetNetRole () |
Get the ENetRole. | |
| const int32 | Get the physics tick offset (add to clients physics tick to get the servers corresponding physics tick) | ||
| const EPhysicsReplicationMode | Get the physics replication mode used. | ||
| const bool | If this network physics component is locally controlled, can be either server or autonomous proxy. | ||
| const bool | IsServer () |
If we are on the server. | |
| void | Add state/input history to rewind data. | ||
| const int32 | Enable RewindData history caching and return the history size. | ||
| void | Remove state/input history from rewind data. |
Constants
| Name | Description |
|---|---|
| SettingsNetworkPhysicsComponent_Default |