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