Skip to content
Brass Orrery

Orrery Terrain · OrreryTerrain module · member function

FTerrainChunkPosts::

PaintAt

One post's paint: its canonical pairs, heaviest first, absolute weights summing to 255 (slot 0's included), as a point query (FGroundQuery::Paint) answers.

Declaration

OrreryTerrain::Native::FPaintWeights PaintAt(int32 Col, int32 Row) const;
Header
#include "TerrainChunkPosts.h"
Module
PublicDependencyModuleNames.Add("OrreryTerrain"); in your module’s Build.cs.
Stability
Stable: changes within a major version only add.
Thread
Any thread.

Description

An unpainted post answers layer 0 at 255.

Parameters

NameTypeDefaultMeaning
Colint32—

The post, 0..Posts - 1; outside, or on empty posts, the answer has Count 0.

Rowint32—

The post, 0..Posts - 1; outside, or on empty posts, the answer has Count 0.

Note.

Any thread. Seven byte reads; for every post, CopyPaint.