Skip to content

PaintedRegionGeComponentDef

16.15

Class Documentation

Edit documentation

A region that is painted cell by cell onto the nav grid instead of being sampled from an outline. It sits in the PaintedRegion field of a PaintedRegionEntityTemplate.

When the entity spawns, the PaintedRegionGeComponent registers the region with the region manager of the map. The manager takes the cells of data, clamps their coordinates to the grid and writes the tag of each cell into the region group of data. Activation turns the region on in the manager and deactivation turns it off.

Properties

priority

F32 = 0
Edit documentation

Priority against other regions that cover the same cell in the same group. A painted region writes its tag into a cell if its priority is not lower than the best priority found so far for that cell.

Referenced by 1 class · 1 property