Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Grid
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Grid/PCGGridDescriptor.h |
| Include | #include "Grid/PCGGridDescriptor.h" |
Syntax
USTRUCT ()
struct FPCGGridDescriptor
Remarks
Descriptor struct used to determine where to output generated resources
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArray< TSoftObjectPtr< UDataLayerAsset > > & | |||
| void | GetDataLayerAssets
(
TArray< TSoftObjectPtr< UDataLayerAsset > >& OutDataLayerAssets, |
||
| uint32 | GetGridSize () |
||
| EPCGHiGenGrid | GetHiGenGrid () |
||
| FString | GetPartitionActorName
(
const FIntVector& GridCoords |
||
| uint32 | |||
| bool | Is2DGrid () |
||
| bool | IsRuntime () |
||
| FPCGGridDescriptor & | SetDataLayerAssets
(
const TArray< TSoftObjectPtr< UDataLayerAsset > >& InDataLayerAssets |
||
| FPCGGridDescriptor & | SetDataLayerAssets
(
const TArray< const UDataLayerAsset* >& InDataLayerAssets |
||
| FPCGGridDescriptor & | SetGridSize
(
uint32 InGridSize |
||
| FPCGGridDescriptor & | SetIs2DGrid
(
bool bInIs2DGrid |
||
| FPCGGridDescriptor & | SetIsRuntime
(
bool bInIsRuntime |
||
| FPCGGridDescriptor & | SetRuntimeHash
(
uint32 InRuntimeHash |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator!=
(
const FPCGGridDescriptor& Other |
||
| bool | operator==
(
const FPCGGridDescriptor& Other |