Draw Debug Coordinate System

From Augmotic Library
< Unreal‎ | API
Inputs
Axis Loc Position in World Space of indicator's origin.
Axis Rot Rotation in World Space the indicator will orient.
Scale Length of the drawn axis lines.
Duration Length of time to render each drawing. Zero will last until the end of the frame.
Thickness Thickness of the drawn axis lines.
Inputs
InWorld Reference to the current world to draw in.
AxisLoc Position in World Space of the indicator's origin.
AxisRot Rotation in World Space the indicator will orient.
Scale Length of the drawn axis lines.
bPersistentLines Persist drawn lines permanently.
LifeTime Length of time to render each drawing.
DepthPriority Scene Depth Priority Group that the indicator will rendered be in.
Thickness Thickness of the drawn axis lines.
#include "DrawDebugHelpers.h"
Header: /Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h
Source: /Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp
This Development Only function will not work in a shipped package build.

Overview

Draw Debug Coordinate System will render a visual-only transform gizmo at the selected position and rotation. Its size, duration, and line thickness can be controlled.

A helpful visualization tool for debugging, this can render an indicator at any position and rotation.
Depending on the connected inputs, this can render oriented as world or local space.

The Duration input will dictate the frequency of node executions. If set to zero, you will need it to execute each frame, otherwise, pulsing it will draw it once and keep it there until it elapses.

Detaching from the controlled actor will allow the selection of a scene object; This will show the standard Transform gizmo if only a quick check is needed.

Scale & Thickness

Here is a quick reference of typical values for the Scale and Thickness inputs. Values can be updated at run-time with variables if needed.

These are shown on a standard-size Cube Mesh (100 x 100 x 100).

Examples

Object Position & Rotation

Draws an indicator on every frame at the object's origin that aligns with its rotation.