Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsField
Inheritance Hierarchy
- FRenderResource
- FPhysicsFieldResource
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsField/PhysicsFieldComponent.h |
| Include | #include "PhysicsField/PhysicsFieldComponent.h" |
Syntax
class FPhysicsFieldResource : public FRenderResource
Remarks
Physics Field render resource.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRWBuffer | BoundsMax | Bounds max buffer | |
| FRWBuffer | BoundsMin | Bounds Min buffer | |
| FRWBuffer | CellsMax | Cells max buffer | |
| FRWBuffer | CellsMin | Cells Min buffer | |
| FRWBuffer | CellsOffsets | Cells offsets buffer | |
| FRWBuffer | ClipmapBuffer | Field cached clipmap buffer | |
| FPhysicsFieldInfos | FieldInfos | Field infos that will be used to allocate memory and to transfer information | |
| FRWBuffer | NodesOffsets | Field nodes offsets buffer | |
| FRWBuffer | NodesParams | Field nodes params buffer | |
| FRWBuffer | TargetsOffsets | Field targets nodes buffer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPhysicsFieldResource
(
const int32 TargetCount, |
Default constructor. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | UpdateBounds
(
const TArray< FVector >& TargetsMin, |
Update Bounds. | |
| void | UpdateResource
(
FRHICommandList& RHICmdList, |
Update RHI resources. |
Overridden from FRenderResource
| Type | Name | Description | |
|---|---|---|---|
| void | InitRHI
(
FRHICommandListBase& RHICmdList |
Init Field resources. | |
| void | ReleaseRHI () |
Release Field resources. |