Orrery Terrain · OrreryTerrainEditor module · member function
UOrreryTerrainFeatureToolBase::
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/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
| Name | Type | Default | Meaning |
|---|---|---|---|
RenderAPI | ITools | — | — |
Points | TConst | — | — |
Color | const FLinear | — | — |
bClosed | bool | — | — |
Thickness | float | 3.0f | — |