![]() |
Ark Server API (ASA) - Wiki
|
#include <GenericOctree.h>
Public Member Functions | |
| FOctreeChildNodeSubset () | |
| FOctreeChildNodeSubset (FOctreeChildNodeRef ChildRef) | |
| bool | Contains (FOctreeChildNodeRef ChildRef) const |
Public Attributes | ||
| union { | ||
| struct { | ||
| uint32 bPositiveX: 1 | ||
| uint32 bPositiveY: 1 | ||
| uint32 bPositiveZ: 1 | ||
| uint32 bNegativeX: 1 | ||
| uint32 bNegativeY: 1 | ||
| uint32 bNegativeZ: 1 | ||
| } | ||
| struct { | ||
| uint32 PositiveChildBits: 3 | ||
| uint32 NegativeChildBits: 3 | ||
| } | ||
| uint32 ChildBits: 6 | ||
| uint32 AllBits | ||
| }; | ||
A subset of an octree node's children that intersect a bounding box.
Definition at line 200 of file GenericOctree.h.
|
inline |
Initializes the subset to be empty.
Definition at line 233 of file GenericOctree.h.
|
inline |
Initializes the subset to contain a single node.
Definition at line 238 of file GenericOctree.h.
| FORCEINLINE bool FOctreeChildNodeSubset::Contains | ( | FOctreeChildNodeRef | ChildRef | ) | const |
Determines whether the subset contains a specific node.
Definition at line 20 of file GenericOctree.inl.
| union { ... } FOctreeChildNodeSubset |
| uint32 FOctreeChildNodeSubset::AllBits |
All the bits used to store the subset.
Definition at line 229 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bNegativeX |
Definition at line 211 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bNegativeY |
Definition at line 212 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bNegativeZ |
Definition at line 213 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bPositiveX |
Definition at line 208 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bPositiveY |
Definition at line 209 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::bPositiveZ |
Definition at line 210 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::ChildBits |
All the bits corresponding to the child bits.
Definition at line 226 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::NegativeChildBits |
Only the bits for the children on the negative side of the splits.
Definition at line 222 of file GenericOctree.h.
| uint32 FOctreeChildNodeSubset::PositiveChildBits |
Only the bits for the children on the positive side of the splits.
Definition at line 219 of file GenericOctree.h.