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.

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

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