Navigation
API > API/Runtime > API/Runtime/Engine
An instance of a Physics Field.
| Name | FPhysicsFieldInstance |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsField/PhysicsFieldComponent.h |
| Include Path | #include "PhysicsField/PhysicsFieldComponent.h" |
Syntax
class FPhysicsFieldInstance
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPhysicsFieldInstance() |
Default constructor. | PhysicsField/PhysicsFieldComponent.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FPhysicsFieldInstance() |
Destructor. | PhysicsField/PhysicsFieldComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BoundsMax | TArray< FVector4 > | Commands bounds max sorted per target type | PhysicsField/PhysicsFieldComponent.h | |
| BoundsMin | TArray< FVector4 > | Commands bounds min sorted per target type | PhysicsField/PhysicsFieldComponent.h | |
| BoundsOffsets | TStaticArray< int32, EFieldPhysicsType::Field_PhysicsType_Max+1 > | Bounds offsets in the bounds array | PhysicsField/PhysicsFieldComponent.h | |
| FieldCommands | TArray< FFieldSystemCommand > | List of all the field commands in the world | PhysicsField/PhysicsFieldComponent.h | |
| FieldResource | FPhysicsFieldResource * | The field system resource. | PhysicsField/PhysicsFieldComponent.h | |
| NodesOffsets | TArray< int32 > | Nodes offsets in the paramter array | PhysicsField/PhysicsFieldComponent.h | |
| NodesParams | TArray< float > | Nodes input parameters and connection | PhysicsField/PhysicsFieldComponent.h | |
| TargetsMax | TArray< FVector > | Max Bounds for each target/clipmap | PhysicsField/PhysicsFieldComponent.h | |
| TargetsMin | TArray< FVector > | Min Bounds for each target/clipmap | PhysicsField/PhysicsFieldComponent.h | |
| TargetsOffsets | TStaticArray< int32, EFieldPhysicsType::Field_PhysicsType_Max+1 > | Targets offsets in the nodes array | PhysicsField/PhysicsFieldComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitInstance
(
const TArray< EFieldPhysicsType >& TargetTypes, |
Initializes the instance for the given resource. | PhysicsField/PhysicsFieldComponent.h | |
void ReleaseInstance() |
Release the resource of the instance. | PhysicsField/PhysicsFieldComponent.h | |
void UpdateInstance
(
const float TimeSeconds, |
Update the datas based on the new bounds and commands | PhysicsField/PhysicsFieldComponent.h |