Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGSpatialData
Description
Sample rotation, scale and other attributes from this data at the query position. Returns true if Transform location and Bounds overlaps this data.
| Name | K2_SamplePoint |
| 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 |
UFUNCTION (BlueprintCallable, Category=SpatialData, Meta=(DisplayName="Sample Point"))
bool K2_SamplePoint
(
const FTransform & Transform,
const FBox & Bounds,
FPCGPoint & OutPoint,
UPCGMetadata * OutMetadata
) const