Navigation
API > API/Plugins > API/Plugins/PCG
| Name | FSurfaceSamplerData |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSurfaceSampler.h |
| Include Path | #include "Elements/PCGSurfaceSampler.h" |
Syntax
struct FSurfaceSamplerData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedsLocalTransformation | bool | Whether the pre-projected points need a local->world transformation. | Elements/PCGSurfaceSampler.h | |
| CellCount | int32 | Elements/PCGSurfaceSampler.h | ||
| CellMaxX | int32 | Elements/PCGSurfaceSampler.h | ||
| CellMaxY | int32 | Elements/PCGSurfaceSampler.h | ||
| CellMinX | int32 | Elements/PCGSurfaceSampler.h | ||
| CellMinY | int32 | Elements/PCGSurfaceSampler.h | ||
| CellSize | FVector | Elements/PCGSurfaceSampler.h | ||
| InnerCellOffset | FVector | Elements/PCGSurfaceSampler.h | ||
| InnerCellSize | FVector | Elements/PCGSurfaceSampler.h | ||
| InterstitialDistance | FVector | Computed values | Elements/PCGSurfaceSampler.h | |
| Params | FSurfaceSamplerParams | Elements/PCGSurfaceSampler.h | ||
| PreProjectionDisplacement | FVector::FReal | The displacement of the pre-projected, pre-sampled points. | Elements/PCGSurfaceSampler.h | |
| PreProjectionTransform | FMatrix | Will be applied to pre-sampled points to transform them onto the pre-projection plane. | Elements/PCGSurfaceSampler.h | |
| Ratio | float | Elements/PCGSurfaceSampler.h | ||
| Seed | int | Elements/PCGSurfaceSampler.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FIntVector2 ComputeCellIndices
(
int32 Index |
Elements/PCGSurfaceSampler.h | ||
bool Initialize
(
const FPCGContext* Context, |
Elements/PCGSurfaceSampler.h | ||
bool Initialize
(
const UPCGSurfaceSamplerSettings* Settings, |
Elements/PCGSurfaceSampler.h |