GCubeSDK
©2026 FenixFox®Studios

OctreeHelper

OctreeHelper ⟵ LineObject3D

A helper for visualizing an Octree. OctreeHelper creates a wireframe visualization of an Octree structure by drawing line segments for each bounding box in the octree hierarchy.

InheritanceDiagram node_Line Line node_OctreeHelper OctreeHelper node_Line->node_OctreeHelper node_Object3D Object3D node_Object3D->node_Line

Methods

OctreeHelper(Octree* octree, u32 color)

Constructor to create new octree helper

octree octree to visualize nullptr
color helper's color 0xFFFF00

void update()

Updates the helper. This method must be called whenever the Octree's structure is changed

void dispose()

Frees the GPU-related resources allocated by this instance

Properties

octree Octree * octree to visualize
color u32 helper's color
isOctreeHelper bool Read
name string Optional display name
id u32 Unique identifier
uuid string UUID string
enabled bool Active/inactive
version u32 Bumps on change