Navigation
API > API/Runtime > API/Runtime/Engine
| Name | UAsyncPhysicsInputComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Physics/AsyncPhysicsInputComponent.h |
| Include Path | #include "Physics/AsyncPhysicsInputComponent.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UAsyncPhysicsInputComponent : public UActorComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → UAsyncPhysicsInputComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UAsyncPhysicsInputComponent() |
Physics/AsyncPhysicsInputComponent.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BufferedData | TArray< TObjectPtr< UAsyncPhysicsData > > | Physics/AsyncPhysicsInputComponent.h |
|
|
| DataClass | TSubclassOf< UAsyncPhysicsData > | Physics/AsyncPhysicsInputComponent.h | ||
| DataToConsume | TObjectPtr< UAsyncPhysicsData > | Physics/AsyncPhysicsInputComponent.h |
|
|
| DataToWrite | TObjectPtr< UAsyncPhysicsData > | Physics/AsyncPhysicsInputComponent.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UAsyncPhysicsData * GetDataToConsume () |
Get the async physics data to execute logic off of. | Physics/AsyncPhysicsInputComponent.h |
|
| Get the async physics data to write to. | Physics/AsyncPhysicsInputComponent.h |
|
|
APlayerController * GetPlayerController() |
Physics/AsyncPhysicsInputComponent.h | ||
void OnDispatchPhysicsTick
(
int32 PhysicsStep, |
Physics/AsyncPhysicsInputComponent.h | ||
void ServerRPCBufferInput
(
UAsyncPhysicsData* AsyncPhysicsData |
Physics/AsyncPhysicsInputComponent.h |
|
|
void SetDataClass
(
TSubclassOf< UAsyncPhysicsData > InDataClass |
Sets the data class used. Can only call this once after the component has been created | Physics/AsyncPhysicsInputComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AsyncPhysicsTickComponent
(
float DeltaTime, |
Override this function to implement custom logic to be executed every physics step. | Physics/AsyncPhysicsInputComponent.h |