Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGLandscapeData
Description
Performs multiple samples at the same time. Contrary to the single SamplePoint call, this is expected to set the density to 0 for points that were not overlapping - but the other properties can be anything. The OutPoints arrays is expected pre-allocated to the size of the Samples.
Virtual Inheritance
- UPCGSpatialData::SamplePoints → UPCGLandscapeData::SamplePoints
| Name | SamplePoints |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGLandscapeData.h |
| Include Path | #include "Data/PCGLandscapeData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGLandscapeData.cpp |
virtual void SamplePoints
(
const TArrayView < const TPair< FTransform, FBox > > & Samples,
const TArrayView < FPCGPoint > & OutPoints,
UPCGMetadata * OutMetadata
) const