Navigation
API > API/Plugins > API/Plugins/ZoneGraph
Quantized BV-Tree
| Name | FZoneGraphBVTree |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphBVTree.h |
| Include Path | #include "ZoneGraphBVTree.h" |
Syntax
USTRUCT ()
struct FZoneGraphBVTree
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxQuantizedCoord | float | Max quantized coordinate value during conversion, the scale is truncated to account for the expansion in CalcNodeBounds(). | ZoneGraphBVTree.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Build
(
TStridedView< const FBox > Boxes |
Build BV-tree from boxes, the index of the box in the array will be the index of the query result. | ZoneGraphBVTree.h | |
FZoneGraphBVNode CalcNodeBounds
(
const FBox& Box |
ZoneGraphBVTree.h | ||
FBox CalcWorldBounds
(
const FZoneGraphBVNode& Node |
ZoneGraphBVTree.h | ||
TConstArrayView< FZoneGraphBVNode > GetNodes() |
ZoneGraphBVTree.h | ||
int32 GetNumNodes() |
ZoneGraphBVTree.h | ||
const FVector & GetOrigin() |
ZoneGraphBVTree.h | ||
float GetQuantizationScale() |
ZoneGraphBVTree.h | ||
void Query
(
const FBox& Bounds, |
Queries the BV-tree, calls Function on each child node which bounds overlap the query bounds. | ZoneGraphBVTree.h | |
| Queries the BV-tree, return index of overlapping items. | ZoneGraphBVTree.h |