Orrery Terrain · OrreryTerrainCore module · member function
Native::FBrushMaskDab::
Local
ExperimentalThe 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
| Name | Type | Default | Meaning |
|---|---|---|---|
Dx_mm | int64_ | — | — |
Dy_mm | int64_ | — | — |
OutX_q16 | int64_ | — | — |
OutY_q16 | int64_ | — | — |
Returns
Whether the position lies on the mask's rectangle, the tolerance included.