![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GenericOctree.h>
Classes | |
| class | FNode |
| class | FNodeReference |
| class | TConstElementBoxIterator |
| class | TConstIterator |
Public Types | |
| using | FReal = FVector4::FReal |
| typedef TArray< ElementType, typename OctreeSemantics::ElementAllocator > | ElementArrayType |
| typedef ElementArrayType::TConstIterator | ElementConstIt |
| typedef TInlineAllocator< 7 *(14 - 1)+8 > | DefaultStackAllocator |
Public Member Functions | |
| void | AddElement (typename TTypeTraits< ElementType >::ConstInitType Element) |
| void | RemoveElement (FOctreeElementId ElementId) |
| void | Destroy () |
| ElementType & | GetElementById (FOctreeElementId ElementId) |
| const ElementType & | GetElementById (FOctreeElementId ElementId) const |
| bool | IsValidElementId (FOctreeElementId ElementId) const |
| void | DumpStats () const |
| SIZE_T | GetSizeBytes () const |
| FReal | GetNodeLevelExtent (int32 Level) const |
| FBoxCenterAndExtent | GetRootBounds () const |
| void | ShrinkElements () |
| void | ApplyOffset (const FVector &InOffset, bool bGlobalOctree) |
| TOctree_DEPRECATED (const FVector &InOrigin, FReal InExtent) | |
| TOctree_DEPRECATED () | |
Protected Member Functions | |
| void | SetElementId (const ElementType &Element, FOctreeElementId Id) |
An octree.
| typedef TInlineAllocator<7 * (14 - 1) + 8> TOctree_DEPRECATED< ElementType, OctreeSemantics >::DefaultStackAllocator |
The default iterator allocator gives the stack enough inline space to contain a path and its siblings from root to leaf.
| typedef TArray<ElementType, typename OctreeSemantics::ElementAllocator> TOctree_DEPRECATED< ElementType, OctreeSemantics >::ElementArrayType |
| typedef ElementArrayType::TConstIterator TOctree_DEPRECATED< ElementType, OctreeSemantics >::ElementConstIt |
| using TOctree_DEPRECATED< ElementType, OctreeSemantics >::FReal = FVector4::FReal |
|
inline |
Initialization constructor.
|
inline |
DO NOT USE. This constructor is for internal usage only for hot-reload purposes.
|
inline |
Adds an element to the octree.
| Element | - The element to add. |
|
inline |
Apply an arbitrary offset to all elements in the tree InOffset - offset to apply bGlobalOctree - hint that this octree is used as a boundless global volume, so only content will be shifted but not origin of the octree
|
inline |
|
inline |
Writes stats for the octree to the log.
|
inline |
Accesses an octree element by ID.
|
inline |
Accesses an octree element by ID.
|
inline |
|
inline |
|
inline |
|
inline |
Checks if given ElementId represents a valid Octree element
|
inline |
Removes an element from the octree.
| ElementId | - The element to remove from the octree. |
|
inlineprotected |
|
inline |