Class NavigationTokenLegend
- Namespace
- Trailblazer.Pathing
- Assembly
- Trailblazer.dll
Maps trimmed authoring tokens to complete navigation-cell payloads.
public sealed class NavigationTokenLegend
- Inheritance
-
NavigationTokenLegend
- Inherited Members
Constructors
NavigationTokenLegend()
public NavigationTokenLegend()
Methods
CreateBuiltIn(Fixed64, Fixed64)
Creates the built-in solid, volume, mixed-media, and climb token set.
public static NavigationTokenLegend CreateBuiltIn(Fixed64 radiusClearance = default, Fixed64 heightClearance = default)
Parameters
radiusClearanceFixed64heightClearanceFixed64
Returns
Register(string, NavigationTokenLegendEntry)
Registers one trimmed token. A duplicate token returns false without replacement.
public bool Register(string token, NavigationTokenLegendEntry entry)
Parameters
tokenstringentryNavigationTokenLegendEntry
Returns
TryGetEntry(string, out NavigationTokenLegendEntry)
Attempts to resolve one token after ordinal whitespace trimming.
public bool TryGetEntry(string token, out NavigationTokenLegendEntry entry)
Parameters
tokenstringentryNavigationTokenLegendEntry