Orrery Terrain · OrreryTerrainEditor module · member function
FOrreryTerrainMaskContourCache::
Get
Editor onlyThe contour of Mask at Angle, computed on the first ask and cached.
Declaration
const TArray<FVector2D>& Get(const OrreryTerrain::Native::FBrushMask& Mask, uint16 Angle, bool bMirror, double Aspect = 1.0);- Header
#include "Tools/OrreryTerrainMaskPreview.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 FOrreryTerrainMaskContourCache)
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Mask | const Orrery | — | The mask; its content hash keys the cache. |
Angle | uint16 | — | The dab's angle, 1/65536 of a turn (FBrush::MaskAngle). |
bMirror | bool | — | Reverse the columns before the rotation. |
Aspect | double | 1.0 | The mask's width over its height ( |
Returns
Pairs of points, one segment each; empty for a mask with no sample on both sides of one half.