Ark Server API (ASA) - Wiki
|
#include <GenericOctree.h>
Public Types | |
enum | { LoosenessDenominator = 16 } |
using | FReal = FVector4::FReal |
Public Attributes | |
FBoxCenterAndExtent | Bounds |
FReal | ChildExtent |
FReal | ChildCenterOffset |
uint32 | InCullBits |
uint32 | OutCullBits |
The context of an octree node, derived from the traversal of the tree.
Definition at line 251 of file GenericOctree.h.
Definition at line 255 of file GenericOctree.h.
The node bounds are expanded by their extent divided by LoosenessDenominator.
Enumerator | |
---|---|
LoosenessDenominator |
Definition at line 258 of file GenericOctree.h.
|
inline |
Default constructor.
Definition at line 276 of file GenericOctree.h.
Initialization constructor, this one is used when we done care about the box anymore
Definition at line 280 of file GenericOctree.h.
|
inline |
Initialization constructor.
Definition at line 287 of file GenericOctree.h.
|
inline |
Initialization constructor.
Definition at line 299 of file GenericOctree.h.
|
inline |
Child node initialization constructor.
Definition at line 331 of file GenericOctree.h.
|
inline |
Construct a child context given the child ref. Optimized to remove all LHS.
Definition at line 341 of file GenericOctree.h.
|
inline |
Child node initialization constructor.
Definition at line 354 of file GenericOctree.h.
|
inline |
Definition at line 312 of file GenericOctree.h.
FORCEINLINE FOctreeChildNodeRef FOctreeNodeContext::GetContainingChild | ( | const FBoxCenterAndExtent & | BoundingBox | ) | const |
Determines which of the octree node's children contain the whole bounding box, if any.
BoundingBox | - The bounding box to check for intersection with. |
Definition at line 55 of file GenericOctree.inl.
FORCEINLINE FOctreeChildNodeSubset FOctreeNodeContext::GetIntersectingChildren | ( | const FBoxCenterAndExtent & | BoundingBox | ) | const |
Determines which of the octree node's children intersect with a bounding box.
BoundingBox | - The bounding box to check for intersection with. |
Definition at line 27 of file GenericOctree.inl.
FBoxCenterAndExtent FOctreeNodeContext::Bounds |
The bounds of the node.
Definition at line 261 of file GenericOctree.h.
FReal FOctreeNodeContext::ChildCenterOffset |
The offset of the childrens' centers from the center of this node.
Definition at line 267 of file GenericOctree.h.
FReal FOctreeNodeContext::ChildExtent |
The extent of the node's children.
Definition at line 264 of file GenericOctree.h.
uint32 FOctreeNodeContext::InCullBits |
Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). This does not consume storage because it is leftover in the padding.
Definition at line 270 of file GenericOctree.h.
uint32 FOctreeNodeContext::OutCullBits |
Bits used for culling, semantics left up to the caller (except that it is always set to zero at the root). This does not consume storage because it is leftover in the padding.
Definition at line 273 of file GenericOctree.h.