DrawDebugLine

Draw a debug line

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/DrawDebugHelpers.h

Include

#include "DrawDebugHelpers.h"

Source

/Engine/Source/Runtime/Engine/Private/DrawDebugHelpers.cpp

Syntax

void DrawDebugLine
(
    const UWorld * InWorld,
    FVector const & LineStart,
    FVector const & LineEnd,
    FColor const & Color,
    bool bPersistentLines,
    float LifeTime,
    uint8 DepthPriority,
    float Thickness
)

Remarks

Draw a debug line