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