Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSurfaceSampler.h |
| Include | #include "Elements/PCGSurfaceSampler.h" |
Syntax
struct FSurfaceSamplerParams
Remarks
TODO: Factor out "computed values" that shouldn't be exposed to the external user into a more appropriate state.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyDensityToPoints | ||
| 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 |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIntVector2 | ComputeCellIndices
(
int32 Index |
||
| bool | Initialize
(
const UPCGSurfaceSamplerSettings* Settings, |