Skip to content

NavRegionGeComponentDef

15.22

Class Documentation

Edit documentation

Makes a region entity write its region into the nav grid. It sits in the navRegion field of a RegionEntityBaseTemplate and acts together with the Region field of the same template (RegionGeComponentDef).

When the entity spawns, the NavRegionGeComponent takes NavRegionDef and shapeData from the region definition and registers the region with the region manager of the map. The manager samples the outline onto the nav-grid cells as RegionBoundaryConfig describes and writes the tags of the NavRegionDef into the covered cells. Activation turns the region on in the manager, and deactivation turns it off.

If the region definition has no NavRegionDef, the client registers nothing and activation has no effect.

Referenced by 1 class · 1 property