Navigation
API > API/Plugins > API/Plugins/PCG
Descriptor struct used to determine where to output generated resources
| Name | FPCGGridDescriptor |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Grid/PCGGridDescriptor.h |
| Include Path | #include "Grid/PCGGridDescriptor.h" |
Syntax
USTRUCT ()
struct FPCGGridDescriptor
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIs2DGrid | bool | Grid/PCGGridDescriptor.h | ||
| bIsRuntime | bool | Grid/PCGGridDescriptor.h | ||
| DataLayerAssets | TArray< TSoftObjectPtr< UDataLayerAsset > > | Grid/PCGGridDescriptor.h | ||
| GridSize | uint32 | Grid/PCGGridDescriptor.h | ||
| Hash | TOptional< uint32 > | Grid/PCGGridDescriptor.h | ||
| HLODLayer | TSoftObjectPtr< UHLODLayer > | Grid/PCGGridDescriptor.h | ||
| RuntimeHash | uint32 | Some descriptor properties do not exist in non editor builds / game worlds. This is the hash that represents those editor only properties. | Grid/PCGGridDescriptor.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetDataLayerAssets
(
TArray< TSoftObjectPtr< UDataLayerAsset > >& OutDataLayerAssets, |
Grid/PCGGridDescriptor.h | ||
const TArray< TSoftObjectPtr< UDataLayerAsset > > & GetDataLayerAssets () |
Grid/PCGGridDescriptor.h | ||
uint32 GetGridSize() |
Grid/PCGGridDescriptor.h | ||
EPCGHiGenGrid GetHiGenGrid() |
Grid/PCGGridDescriptor.h | ||
const TSoftObjectPtr< UHLODLayer > & GetHLODLayer() |
Grid/PCGGridDescriptor.h | ||
FString GetPartitionActorName
(
const FIntVector& GridCoords |
Grid/PCGGridDescriptor.h | ||
uint32 GetRuntimeHash() |
Grid/PCGGridDescriptor.h | ||
bool Is2DGrid() |
Grid/PCGGridDescriptor.h | ||
bool IsRuntime() |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetDataLayerAssets
(
const TArray< TSoftObjectPtr< UDataLayerAsset > >& InDataLayerAssets |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetDataLayerAssets
(
const TArray< const UDataLayerAsset* >& InDataLayerAssets |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetGridSize
(
uint32 InGridSize |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetHLODLayer
(
const TSoftObjectPtr< UHLODLayer >& InHLODLayer |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetIs2DGrid
(
bool bInIs2DGrid |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetIsRuntime
(
bool bInIsRuntime |
Grid/PCGGridDescriptor.h | ||
FPCGGridDescriptor & SetRuntimeHash
(
uint32 InRuntimeHash |
Grid/PCGGridDescriptor.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool operator!=
(
const FPCGGridDescriptor& Other |
Grid/PCGGridDescriptor.h | ||
bool operator==
(
const FPCGGridDescriptor& Other |
Grid/PCGGridDescriptor.h |