ProtoFlux:Debug Box: Difference between revisions

From Resonite Wiki
Create Debug Box ProtoFlux Node Page
 
Added info about debug overdraw.
 
Line 17: Line 17:
|}}
|}}


Debug Box is a ProtoFlux node that when called will make a cube visual at the global coordinates with a size provided and will appear for a duration in seconds. The visual will appear under the [[Root]] of a world.
Debug Box is a ProtoFlux node that when called will make a cube visual at the global coordinates with a size provided and will appear for a duration in seconds. The visual will appear under the [[Root]] of a world. In most cases, the debug visuals will be drawn over most materials, letting you see them easily.


See also: [[Coordinate spaces]]
See also: [[Coordinate spaces]]

Latest revision as of 22:02, 22 May 2024

Debug Box
*
Next
Point
Size
Orientation
Color
Duration
Debug

Debug Box is a ProtoFlux node that when called will make a cube visual at the global coordinates with a size provided and will appear for a duration in seconds. The visual will appear under the Root of a world. In most cases, the debug visuals will be drawn over most materials, letting you see them easily.

See also: Coordinate spaces

Inputs

* (Call)

Call this to spawn a debug box visual in the root of the world with the provided parameters.

Position (float3)

The position in global space for the debug visual. Default at the node.

Size (float3)

The size of the box visual in meters.

Orientation (floatQ)

The Rotation in global space for the debug visual. Default 0.

ForwardColor (colorX)

The color for the box visual generated. Defaults to white.

Duration (float)

How long the debug box visual appears for in seconds.

Outputs

Next (Continuation)

Fires after * (Call) is impulsed and the visual was created successfully.

Examples