Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSubsystem
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FPCGTaskId ForAllOverlappingCells
(
const FBox& InBounds, |
Call InFunc to all partition grid cells matching 'InGridSizes' and overlapping with 'InBounds'. | Subsystems/PCGSubsystem.h | |
FPCGTaskId ForAllOverlappingCells
(
UPCGComponent* InPCGComponent, |
Subsystems/PCGSubsystem.h |
ForAllOverlappingCells(const FBox &, const PCGHiGenGrid::FSizeArray &, bool, const TArray< FPCGTaskId > &, TFunctionRef< FPCGTaskId(APCGPartitionActor *, const FBox &)>)
Description
Call InFunc to all partition grid cells matching 'InGridSizes' and overlapping with 'InBounds'. 'InFunc' can schedule work or execute immediately. 'InGridSizes' should be sorted in descending order. If 'bCanCreateActor' is true, it will create the partition actor at that cell if necessary.
| Name | ForAllOverlappingCells |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
FPCGTaskId ForAllOverlappingCells
(
const FBox & InBounds,
const PCGHiGenGrid::FSizeArray & InGridSizes,
bool bCanCreateActor,
const TArray < FPCGTaskId > & Dependencies,
TFunctionRef < FPCGTaskId *, const FBox &)> InFunc
) const
ForAllOverlappingCells(UPCGComponent , const FBox &, const PCGHiGenGrid::FSizeArray &, bool, const TArray< FPCGTaskId > &, TFunctionRef< FPCGTaskId(APCGPartitionActor , const FBox &)>, TFunctionRef< FPCGTaskId(const FPCGGridDescriptor &, const FIntVector &, const FBox &)>)
| Name | ForAllOverlappingCells |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Subsystems/PCGSubsystem.h |
| Include Path | #include "Subsystems/PCGSubsystem.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Subsystems/PCGSubsystem.cpp |
FPCGTaskId ForAllOverlappingCells
(
UPCGComponent * InPCGComponent,
const FBox & InBounds,
const PCGHiGenGrid::FSizeArray & InGridSizes,
bool bCanCreateActor,
const TArray < FPCGTaskId > & Dependencies,
TFunctionRef < FPCGTaskId *, const FBox &)> InFunc,
TFunctionRef < FPCGTaskId &, const FIntVector &, const FBox &)> InUnloadedFunc
) const