Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/UPCGOctreeQueries
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FPCGPoint * GetClosestPoint
(
const UPCGPointData* InPointData, |
Get the closest point to a given position within the search distance, If bInDiscardCenter is true, will reject any points that are exactly at the center. | SpatialAlgo/PCGOctreeQueries.h | |
static void GetClosestPoint
(
const UPCGPointData* InPointData, |
Get the closest point to a given position within the search distance. | SpatialAlgo/PCGOctreeQueries.h |
|
GetClosestPoint(const UPCGPointData *, const FVector &, const bool, const double)
Description
Get the closest point to a given position within the search distance, If bInDiscardCenter is true, will reject any points that are exactly at the center. Returns null if not found.
| Name | GetClosestPoint |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include Path | #include "SpatialAlgo/PCGOctreeQueries.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/SpatialAlgo/PCGOctreeQueries.cpp |
static const FPCGPoint * GetClosestPoint
(
const UPCGPointData * InPointData,
const FVector & InCenter,
const bool bInDiscardCenter,
const double InSearchDistance
)
GetClosestPoint(const UPCGPointData *, const FVector &, const bool, bool &, FPCGPoint &, const double)
Description
Get the closest point to a given position within the search distance. If bInDiscardCenter is true, will reject any points that is at the center exactly.
| Name | GetClosestPoint |
| Type | function |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/SpatialAlgo/PCGOctreeQueries.h |
| Include Path | #include "SpatialAlgo/PCGOctreeQueries.h" |
| Source | /Engine/Plugins/PCG/Source/PCG/Private/SpatialAlgo/PCGOctreeQueries.cpp |
UFUNCTION (BlueprintCallable, Category=PointData)
static void GetClosestPoint
(
const UPCGPointData * InPointData,
const FVector & InCenter,
const bool bInDiscardCenter,
bool & bOutFound,
FPCGPoint & OutPoint,
const double InSearchDistance
)