Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSpatialData
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.
Derived Overrides
| Name | SamplePoints |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Data/PCGSpatialData.h |
| Include Path | #include "Data/PCGSpatialData.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/Data/PCGSpatialData.cpp |
virtual void SamplePoints
(
const TArrayView < const TPair< FTransform, FBox > > & Samples,
const TArrayView < FPCGPoint > & OutPoints,
UPCGMetadata * OutMetadata
) const