Orbdale Terrain · OrbdaleTerrainEditor module · member function
UOrbdaleTerrainFeatureToolBase::
DrawPolyline
Editor onlyDraw 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/OrbdaleTerrainFeatureTools.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrainEditor");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 UOrbdaleTerrainFeatureToolBase)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
RenderAPI | ITools | — | — |
Points | TConst | — | — |
Color | const FLinear | — | — |
bClosed | bool | — | — |
Thickness | float | 3.0f | — |