Class Path<TSeg>
Assembly: AnyPath.dll
Syntax
public class Path<TSeg> : IReadOnlyList<TSeg>, IReadOnlyCollection<TSeg>, IEnumerable<TSeg>, IEnumerable where TSeg : unmanaged
Type Parameters
Properties
Cost
Declaration
public float Cost { get; }
Property Value
HasPath
Declaration
public bool HasPath { get; }
Property Value
this[int]
Declaration
public TSeg this[int index] { get; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Length
Declaration
public int Length { get; }
Property Value
Methods
GetEnumerator()
Declaration
public ArraySliceEnumerator<TSeg> GetEnumerator()
Returns
Hydrate(bool, TSeg[], float)
Declaration
protected void Hydrate(bool hasPath, TSeg[] segments, float cost)
Parameters
Type |
Name |
Description |
bool |
hasPath |
|
TSeg[] |
segments |
|
float |
cost |
|
Implements
Extension Methods