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