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