Struct NavigationCellEntry
- Namespace
- Trailblazer.Pathing
- Assembly
- Trailblazer.dll
Associates one topology-local address with its immutable authored cell payload.
public readonly struct NavigationCellEntry : IEquatable<NavigationCellEntry>
- Implements
- Inherited Members
Constructors
NavigationCellEntry(VoxelIndex, NavigationCell)
Creates an authored cell entry.
public NavigationCellEntry(VoxelIndex index, NavigationCell cell)
Parameters
indexVoxelIndexcellNavigationCell
Properties
Cell
The complete authored cell payload.
public NavigationCell Cell { get; }
Property Value
Index
The topology-local cell index.
public VoxelIndex Index { get; }
Property Value
- VoxelIndex
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(NavigationCellEntry)
public bool Equals(NavigationCellEntry other)
Parameters
otherNavigationCellEntry
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(NavigationCellEntry, NavigationCellEntry)
Tests two entries for value equality.
public static bool operator ==(NavigationCellEntry left, NavigationCellEntry right)
Parameters
leftNavigationCellEntryrightNavigationCellEntry
Returns
operator !=(NavigationCellEntry, NavigationCellEntry)
Tests two entries for value inequality.
public static bool operator !=(NavigationCellEntry left, NavigationCellEntry right)
Parameters
leftNavigationCellEntryrightNavigationCellEntry