Skip to content

Sein Nav Layer Definition

Struct · FSeinNavLayerDefinition

#include "Data/SeinNavLayerDefinition.h"

One designer-configurable N-layer definition for navigation. Slot index N (0..6) maps to bit (1 + N) of the agent/blocker layer mask.

  • bEnabled toggles the slot without shifting bit indices.

  • LayerName is displayed in the bitmask combos on Navigation Data and Extents Data (BlockedNavLayerMask) for designer clarity.

  • DebugColor used by the nav debug overlay to tint blocker stamps that occupy this layer (mixed-layer blockers blend toward the dominant bit).

bool bEnabled · default false

Editable in defaults and on instances · Saved to config

If false, this slot is treated as inert at runtime — blockers with this bit don’t gate any agent, agents authored on it intersect nothing. Lets designers pre-reserve a layer’s name + slot index without making it live, or toggle it off without shifting higher-index slots.

FName LayerName · default NAME_None

Editable in defaults and on instances · Saved to config

Designer-friendly label for this slot. Displayed alongside the raw bit in BlockedNavLayerMask / NavLayerMask bitmask UIs. Use project-specific names: “Amphibious”, “HeavyVehicle”, “FriendlyFaction”, etc.

FLinearColor DebugColor · default FLinearColor::White

Editable in defaults and on instances · Saved to config

Color used by the nav debug overlay to tint blocker cells whose BlockedNavLayerMask includes this layer’s bit. Mixed-layer blockers blend toward the dominant bit’s color; the framework default (orange) renders for blockers on Default-only. Presentation only: the settings hash leaves it out.