HammeriteNavigationBakeReport
Navigation. Inherits RefCounted
What one navigation bake did, and what it could not do.
The editor and the running game bake by the same route (HammeriteNavigationRuntime.build()), so they had better say the same things about it. A report is that single voice: the tool prints it into its status panel and the message log, and a shipped build prints it to the console when asked.
Most of it is counts. The part that earns its keep is what was LEFT OUT - ground that fits no agent profile, a link nothing can take, a prop nobody marked - because every one of those looks from the outside exactly like something the builder failed to find.
Properties
| Type | Name | Default |
|---|---|---|
bool | has_profiles | |
int | link_nodes | |
int | links | |
int | patches | |
int | patches_unfit | |
int | polygons | |
int | regions | |
String[] | warnings |
Methods
| Returns | Method |
|---|---|
String | summary() const |
Property descriptions
has_profiles
var has_profiles: bool
Whether the bake was made against a real agent-profile table or the stand-in.
link_nodes
var link_nodes: int
NavigationLink3D nodes emitted for the links.
links
var links: int
Traversal links found, and the NavigationLink3Ds emitted for them. More nodes than links means agents disagree about direction; fewer means some link is beyond every profile in the game.
patches
var patches: int
Patches of walkable ground measured.
patches_unfit
var patches_unfit: int
Of those, how many no agent profile could stand on, and which are therefore not in the bake.
polygons
var polygons: int
Navigation polygons across all regions.
regions
var regions: int
Navigation regions attached, and polygons across them. More regions than rooms means some room takes different agents in different parts of it - a crawlspace, a low gallery.
warnings
var warnings: String[]
Everything the builders could not do, in the words they said it in.
Method descriptions
summary()
func summary() -> String
The bake in one or two lines, for a status panel or a log. Leaves out warnings.