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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback