Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGSurfaceSampler.h |
| Include | #include "Elements/PCGSurfaceSampler.h" |
Syntax
struct FSurfaceSamplerSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyDensityToPoints | ||
| bool | bEnableTimeSlicing | ||
| bool | bKeepZeroDensityPoints | ||
| int32 | CellCount | ||
| int32 | CellMaxX | ||
| int32 | CellMaxY | ||
| int32 | CellMinX | ||
| int32 | CellMinY | ||
| FVector | CellSize | ||
| FVector | InnerCellSize | ||
| FVector::FReal | InputBoundsMaxZ | ||
| FVector::FReal | InputBoundsMinZ | ||
| FVector | InterstitialDistance | Computed values | |
| float | Looseness | ||
| FVector | PointExtents | ||
| float | PointsPerSquaredMeter | ||
| float | PointSteepness | ||
| float | Ratio | ||
| int | Seed | ||
| const UPCGSurfaceSamplerSettings * | Settings | ||
| int64 | TargetPointCount |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIntVector2 | ComputeCellIndices
(
int32 Index |
||
| bool | Initialize
(
const UPCGSurfaceSamplerSettings* InSettings, |