Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FPCGLandscapeCacheEntry |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Grid/PCGLandscapeCache.h |
| Include Path | #include "Grid/PCGLandscapeCache.h" |
Syntax
struct FPCGLandscapeCacheEntry
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDataLoaded | bool | Grid/PCGLandscapeCache.h | ||
| BulkData | FByteBulkData | Data built in editor or loaded from the bulk data. | Grid/PCGLandscapeCache.h | |
| DataLock | FCriticalSection | Transient data. | Grid/PCGLandscapeCache.h | |
| LayerData | TArray< TArray< uint8 > > | Grid/PCGLandscapeCache.h | ||
| LayerDataNames | TArray< FName > | Serialized data. | Grid/PCGLandscapeCache.h | |
| OwningCache | TWeakObjectPtr< UPCGLandscapeCache > | Grid/PCGLandscapeCache.h | ||
| PointHalfSize | FVector | Grid/PCGLandscapeCache.h | ||
| PositionsAndNormals | TArray< FVector > | Data stored in the BulkData. | Grid/PCGLandscapeCache.h | |
| Stride | int32 | Grid/PCGLandscapeCache.h | ||
| Touch | int32 | Grid/PCGLandscapeCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void GetInterpolatedLayerWeights
(
const FVector2D& LocalPoint, |
Grid/PCGLandscapeCache.h | ||
void GetInterpolatedPoint
(
const FVector2D& LocalPoint, |
Grid/PCGLandscapeCache.h | ||
void GetInterpolatedPointHeightOnly
(
const FVector2D& LocalPoint, |
Grid/PCGLandscapeCache.h | ||
void GetInterpolatedPointMetadataOnly
(
const FVector2D& LocalPoint, |
Grid/PCGLandscapeCache.h | ||
void GetPoint
(
int32 PointIndex, |
Grid/PCGLandscapeCache.h | ||
void GetPointHeightOnly
(
int32 PointIndex, |
Grid/PCGLandscapeCache.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TSharedPtr< FPCGLandscapeCacheEntry > CreateCacheEntry
(
ULandscapeInfo* LandscapeInfo, |
Grid/PCGLandscapeCache.h |