API ReferenceGE Extensionsflowgraphnodesdebug
Debug Sphere
- **Name:** `Debug Sphere`
Overview
- Name:
Debug Sphere - Category:
repeat_instant - File:
lua/ge/extensions/flowgraph/nodes/debug/debugSphere.lua - Pattern: Class-based (
C = {}, returns_flowgraph_createNode(C))
Description
Draws a debug sphere in the 3D world at a given position with a specified radius and color. Renders every frame while active.
Pin Schema
Input Pins
| Pin | Type | Default | Description |
|---|---|---|---|
pos | vec3 | - | Position of the sphere |
radius | number (hidden, hardcoded) | 1 | Radius of the sphere |
color | color (hidden, hardcoded) | {0.91, 0.05, 0.48, 0.5} | Sphere color (default pink) |
Behavior
work()checks thatposis provided. Creates aColorFfrom the pin value or uses default pink. CallsdebugDrawer:drawSphere(pos, radius, color).
Key APIs Used
debugDrawer:drawSphere(vec3, radius, colorF)
Tags
#flowgraph #node #ge #debug #draw #sphere
Additional Exports
init()
-
name-string- (see source) -
icon-any- (see source) -
description-string- (see source) -
category-string- (see source) -
pinSchema-table- (see source) -
tags-table- (see source)
See Also
- AI Debug Display - Related reference
- Camera Mouse Raycast - Related reference
- Comment - Related reference
- FlowGraph Guide - Guide