DrawArc

Draws an arc using lines.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneManagement.h

Include

#include "SceneManagement.h"

Source

/Engine/Source/Runtime/Engine/Private/PrimitiveDrawingUtils.cpp

Syntax

void DrawArc
(
    FPrimitiveDrawInterface * PDI,
    const FVector Base,
    const FVector X,
    const FVector Y,
    const float MinAngle,
    const float MaxAngle,
    const float Radius,
    const int32 Sections,
    const FLinearColor & Color,
    uint8 DepthPriority
)

Remarks

Draws an arc using lines.

Parameters

Parameter

Description

PDI

Draw interface.

Base

Center of the circle.

X

Normalized axis from one point to the center

Y

Normalized axis from other point to the center

MinAngle

The minimum angle

MaxAngle

The maximum angle

Radius

Radius of the arc

Sections

Numbers of sides that the circle has.

Color

Color of the circle.

DepthPriority

Depth priority for the circle.

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