Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainEditor module · member function

UOrreryTerrainFeatureToolBase::

DrawPolyline

Editor only

Draw a polyline (world cm), depth tested plus a faint pass through the ground.

Declaration

static void DrawPolyline(IToolsContextRenderAPI* RenderAPI, TConstArrayView<FVector> Points, const FLinearColor& Color, bool bClosed, float Thickness = 3.0f);
Header
#include "Tools/OrreryTerrainFeatureTools.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainEditor"); in an editor module’s Build.cs: an editor module, not in packaged games.
Stability
Stable: changes within a major version only add.
Thread
Game thread, editor only. (the rule of UOrreryTerrainFeatureToolBase)

Parameters

NameTypeDefaultMeaning
RenderAPIIToolsContextRenderAPI*——
PointsTConstArrayView<FVector>——
Colorconst FLinearColor&——
bClosedbool——
Thicknessfloat3.0f—