DrawDashedLine

Draws a dashed line.

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 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.

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