DrawDebugCone

Draw a debug cone. AngleWidth and AngleHeight are given in radians

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 DrawDebugCone
(
    const UWorld * InWorld,
    FVector const & Origin,
    FVector const & Direction,
    float Length,
    float AngleWidth,
    float AngleHeight,
    int32 NumSides,
    FColor const & Color,
    bool bPersistentLines,
    float LifeTime,
    uint8 DepthPriority,
    float Thickness
)

Remarks

Draw a debug cone. AngleWidth and AngleHeight are given in radians

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss