DrawDashedLine

Draws a dashed line.

Windows
MacOS
Linux

Syntax

void DrawDashedLine
(
    class FPrimitiveDrawInterface * PDI,
    const FVector & Start,
    const FVector & End,
    const FLinearColor & Color,
    float DashSize,
    uint8 DepthPriority,
    float DepthBias
)

Remarks

Draws a dashed line.

Parameters

Parameter

Description

PDI

Draw interface.

Start

Start position of the line.

End

End position of the line.

Color

Color of the arrow.

DashSize

Size of each of the dashes that makes up the line.

DepthPriority

Depth priority for the line.

References

Module

Engine

Header

Runtime/Engine/Public/SceneManagement.h

Source

Runtime/Engine/Private/PrimitiveDrawingUtils.cpp

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