Navigation
API > API/Runtime > API/Runtime/Engine
PhysicsFieldComponent
| Name | UPhysicsFieldComponent |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsField/PhysicsFieldComponent.h |
| Include Path | #include "PhysicsField/PhysicsFieldComponent.h" |
Syntax
UCLASS (Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UPhysicsFieldComponent : public USceneComponent
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UActorComponent → USceneComponent → UPhysicsFieldComponent
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPhysicsFieldComponent() |
PhysicsFieldComponent | PhysicsField/PhysicsFieldComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ConstructionCommands | TArray< FFieldSystemCommand > | List of all the field construction commands in the world | PhysicsField/PhysicsFieldComponent.h | |
| DebugInstance | FPhysicsFieldInstance * | The instance of the CPU field system. | PhysicsField/PhysicsFieldComponent.h | |
| FieldInstance | FPhysicsFieldInstance * | The instance of the GPU field system. | PhysicsField/PhysicsFieldComponent.h | |
| FieldProxy | FPhysicsFieldSceneProxy * | Scene proxy to be sent to the render thread. | PhysicsField/PhysicsFieldComponent.h | |
| PersistentCommands | TArray< FFieldSystemCommand > | List of all the field persistent commands in the world | PhysicsField/PhysicsFieldComponent.h | |
| TransientCommands | TArray< FFieldSystemCommand > | List of all the field transient commands in the world | PhysicsField/PhysicsFieldComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddConstructionCommand
(
const FFieldSystemCommand& FieldCommand |
Add the construction field command | PhysicsField/PhysicsFieldComponent.h | |
void AddPersistentCommand
(
const FFieldSystemCommand& FieldCommand, |
Add the persistent field command | PhysicsField/PhysicsFieldComponent.h | |
void AddTransientCommand
(
const FFieldSystemCommand& FieldCommand, |
Add the transient field command | PhysicsField/PhysicsFieldComponent.h | |
void FillPersistentCommands
(
const bool bIsWorldField, |
Fill the persistent commands intersecting the bounding box from the physics field | PhysicsField/PhysicsFieldComponent.h | |
void FillTransientCommands
(
const bool bIsWorldField, |
Fill the transient commands intersecting the bounding box from the physics field | PhysicsField/PhysicsFieldComponent.h | |
void RemovePersistentCommand
(
const FFieldSystemCommand& FieldCommand, |
Remove the persistent field command | PhysicsField/PhysicsFieldComponent.h | |
void RemoveTransientCommand
(
const FFieldSystemCommand& FieldCommand, |
Remove the transient field command | PhysicsField/PhysicsFieldComponent.h |
Overridden from UActorComponent
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateRenderState_Concurrent
(
FRegisterComponentContext* Context |
Used to create any rendering thread information for this component | PhysicsField/PhysicsFieldComponent.h | |
virtual void DestroyRenderState_Concurrent () |
Used to shut down any rendering thread structure for this component | PhysicsField/PhysicsFieldComponent.h | |
virtual void OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | PhysicsField/PhysicsFieldComponent.h | |
virtual void OnUnregister () |
Called when a component is unregistered. | PhysicsField/PhysicsFieldComponent.h | |
virtual void SendRenderDynamicData_Concurrent() |
Called to send dynamic data for this component to the rendering thread | PhysicsField/PhysicsFieldComponent.h | |
virtual void TickComponent
(
float DeltaTime, |
Function called every frame on this ActorComponent. | PhysicsField/PhysicsFieldComponent.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void BuildCommandBounds
(
FFieldSystemCommand& FieldCommand |
Build the command bounds | PhysicsField/PhysicsFieldComponent.h |