Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrainCore module · member function

Native::FBrushMaskDab::

Local

Experimental

The mask's local position of a post at offset (Dx_mm, Dy_mm) from the brush centre: rotated by -MaskAngle, mirrored when asked, in Q16 millimetres (floored).

Declaration

bool Local(int64_t Dx_mm, int64_t Dy_mm, int64_t& OutX_q16, int64_t& OutY_q16) const;
Header
#include "Native/BrushMask.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrainCore"); in your module’s Build.cs.
Stability
Experimental: supported, may change in a minor version, with a changelog line.

Parameters

NameTypeDefaultMeaning
Dx_mmint64_t——
Dy_mmint64_t——
OutX_q16int64_t&——
OutY_q16int64_t&——

Returns

Whether the position lies on the mask's rectangle, the tolerance included.