Table of Contents

Struct NavigationCell

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Stores the complete immutable semantic payload for one authored navigation cell.

public readonly struct NavigationCell : IEquatable<NavigationCell>
Implements
Inherited Members

Constructors

NavigationCell(TraversalMedia, TraversalCapability, NavigationAreaId, Fixed64, Fixed64, Fixed64, NavigationCellFlags)

Creates a complete authored navigation-cell payload.

public NavigationCell(TraversalMedia media, TraversalCapability requiredCapabilities, NavigationAreaId area, Fixed64 enterCost, Fixed64 radiusClearance, Fixed64 heightClearance, NavigationCellFlags flags = NavigationCellFlags.None)

Parameters

media TraversalMedia
requiredCapabilities TraversalCapability
area NavigationAreaId
enterCost Fixed64
radiusClearance Fixed64
heightClearance Fixed64
flags NavigationCellFlags

Properties

Area

The stable host-defined navigation area used by query-specific policies.

public NavigationAreaId Area { get; }

Property Value

NavigationAreaId

EnterCost

The non-negative cost charged when an edge enters this cell.

public Fixed64 EnterCost { get; }

Property Value

Fixed64

Flags

Optional transition-generation hints.

public NavigationCellFlags Flags { get; }

Property Value

NavigationCellFlags

HeightClearance

The inclusive vertical clearance above the cell anchor.

public Fixed64 HeightClearance { get; }

Property Value

Fixed64

Media

The traversal media supported by this cell.

public TraversalMedia Media { get; }

Property Value

TraversalMedia

RadiusClearance

The inclusive horizontal radius clearance at the cell anchor.

public Fixed64 RadiusClearance { get; }

Property Value

Fixed64

RequiredCapabilities

The complete set of capabilities an agent must possess to enter this cell.

public TraversalCapability RequiredCapabilities { get; }

Property Value

TraversalCapability

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(NavigationCell)

public bool Equals(NavigationCell other)

Parameters

other NavigationCell

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(NavigationCell, NavigationCell)

Tests two cell payloads for value equality.

public static bool operator ==(NavigationCell left, NavigationCell right)

Parameters

left NavigationCell
right NavigationCell

Returns

bool

operator !=(NavigationCell, NavigationCell)

Tests two cell payloads for value inequality.

public static bool operator !=(NavigationCell left, NavigationCell right)

Parameters

left NavigationCell
right NavigationCell

Returns

bool