Navigation
API > API/Runtime > API/Runtime/Engine
| Name | TStaticSpatialIndex |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |
| Include Path | #include "WorldPartition/RuntimeHashSet/StaticSpatialIndex.h" |
Syntax
template<typename ValueType, typename Profile, class SpatialIndexType, class ElementsSorter>
class TStaticSpatialIndex : public TStaticSpatialIndexDataInterface< Profile >
Inheritance Hierarchy
- TStaticSpatialIndexDataInterface → TStaticSpatialIndex
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStaticSpatialIndex() |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FBox | typename Profile::FBox | WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Elements | TArray< TPair< FBox, ValueType > > | WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
| SpatialIndex | SpatialIndexType | WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddReferencedObjects
(
FReferenceCollector& Collector |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
void ForEachElement
(
Func InFunc |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
void ForEachIntersectingElement
(
const FBox& InBox, |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
void ForEachIntersectingElement
(
const FStaticSpatialIndex::FSphere& InSphere, |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
void ForEachIntersectingElement
(
const FStaticSpatialIndex::FCone& InCone, |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
| WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | |||
| WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |
Overridden from TStaticSpatialIndexDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual uint32 GetAllocatedSize() |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
virtual const FBox & GetBox
(
uint32 InIndex |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
virtual const FBox * GetBoxes
(
uint32 InIndex, |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h | ||
virtual int32 GetNumBox() |
WorldPartition/RuntimeHashSet/StaticSpatialIndex.h |