Sein Level Data (Default Grid)
Class · USeinLevelDataDefault : USeinLevelData
Parent: Sein Level Data
#include "SeinLevelDataDefault.h"
Bakes the level into the shared grid every other system reads: ground height, surface slope and which cells are inside the play area. This is the level data class used out of the box, and the Bake Level Data button on a Sein Level Volume runs its bake. It casts one downward trace per cell over the union of all Sein Level Volumes, then runs every registered layer provider (navigation and fog of war) so each builds its own channel from that same trace. The grid uses the finest cell size in play, which is the navigation cell size. Results are saved to a level data asset together with a top-down minimap background texture.
C++ members (2)
bool GetSharedNormalZAt(const FFixedVector& WorldPos, FFixedPoint& OutNormalZ) const;Surface normal · Up at a world XY (the nav layer’s slope gate reads this). Reentrant. Returns false off-grid / no bake.int32 WorldToCellIndex(const FFixedVector& WorldPos) const;Row-major finest-cell index for a world XY, or INDEX_NONE off-grid. Mirrors nav’s WorldToGrid: (Local / CellSize).ToInt() (deterministic floor). Reentrant.