API ReferenceGE Extensionsflowgraphnodesdebug
Debug Cylinder
- **Name:** `Debug Cylinder`
Overview
- Name:
Debug Cylinder - Category:
repeat_instant - File:
lua/ge/extensions/flowgraph/nodes/debug/debugCylinder.lua - Pattern: Class-based (
C = {}, returns_flowgraph_createNode(C))
Description
Draws a debug cylinder in the 3D world between two points with a specified radius and color. Renders every frame while active.
Pin Schema
Input Pins
| Pin | Type | Default | Description |
|---|---|---|---|
radius | number | - | Radius of the cylinder |
posA | vec3 | - | Start position |
posB | vec3 | - | End position |
color | color (hidden, hardcoded) | {0.91, 0.05, 0.48, 0.5} | Cylinder color (default pink) |
Behavior
work()checks that bothposAandposBare provided. Resolves color from pin or uses default pink. CallsdebugDrawer:drawCylinder(posA, posB, radius, color).- Uses reusable local
vec3andColorFobjects for performance.
Key APIs Used
debugDrawer:drawCylinder(posA, posB, radius, colorF)
Tags
#flowgraph #node #ge #debug #draw #cylinder
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