DrawDebugCanvasWireCone

Draws a wireframe cone

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 DrawDebugCanvasWireCone
(
    UCanvas * Canvas,
    const FTransform & Transform,
    float ConeRadius,
    float ConeAngle,
    int32 ConeSides,
    FColor Color
)

Remarks

Draws a wireframe cone

Parameters

Parameter

Description

Canvas

Canvas to draw on

Transform

Generic transform to apply (ex. a local-to-world transform).

ConeRadius

Radius of the cone.

ConeAngle

Angle of the cone.

ConeSides

Numbers of sides that the cone has.

Color

Color of the cone.

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