Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FOctreeChildNodeRef Class Reference

#include <GenericOctree.h>

Public Member Functions

 FOctreeChildNodeRef (int8 InX, int8 InY, int8 InZ)
 
 FOctreeChildNodeRef (int8 InIndex=0)
 
FORCEINLINE void Advance ()
 
FORCEINLINE bool IsNULL () const
 
FORCEINLINE void SetNULL ()
 
FORCEINLINE int32 X () const
 
FORCEINLINE int32 Y () const
 
FORCEINLINE int32 Z () const
 

Public Attributes

int8 Index
 

Detailed Description

A reference to a child of an octree node.

Definition at line 145 of file GenericOctree.h.

Constructor & Destructor Documentation

◆ FOctreeChildNodeRef() [1/2]

FOctreeChildNodeRef::FOctreeChildNodeRef ( int8 InX,
int8 InY,
int8 InZ )
inline

Initialization constructor.

Definition at line 151 of file GenericOctree.h.

◆ FOctreeChildNodeRef() [2/2]

FOctreeChildNodeRef::FOctreeChildNodeRef ( int8 InIndex = 0)
inline

Initialized the reference with a child index.

Definition at line 160 of file GenericOctree.h.

Member Function Documentation

◆ Advance()

FORCEINLINE void FOctreeChildNodeRef::Advance ( )
inline

Advances the reference to the next child node. If this was the last node remain, Index will be 8 which represents null.

Definition at line 167 of file GenericOctree.h.

◆ IsNULL()

FORCEINLINE bool FOctreeChildNodeRef::IsNULL ( ) const
inline
Returns
true if the reference isn't set.

Definition at line 173 of file GenericOctree.h.

◆ SetNULL()

FORCEINLINE void FOctreeChildNodeRef::SetNULL ( )
inline

Definition at line 178 of file GenericOctree.h.

◆ X()

FORCEINLINE int32 FOctreeChildNodeRef::X ( ) const
inline

Definition at line 183 of file GenericOctree.h.

◆ Y()

FORCEINLINE int32 FOctreeChildNodeRef::Y ( ) const
inline

Definition at line 188 of file GenericOctree.h.

◆ Z()

FORCEINLINE int32 FOctreeChildNodeRef::Z ( ) const
inline

Definition at line 193 of file GenericOctree.h.

Member Data Documentation

◆ Index

int8 FOctreeChildNodeRef::Index

Definition at line 148 of file GenericOctree.h.


The documentation for this class was generated from the following file: