Struct PlatformerGraphProcessor
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: AnyPath.Graphs
Assembly: Assembly-CSharp.dll
Syntax
public struct PlatformerGraphProcessor : IPathProcessor<PlatformerGraph.Location, PlatformerGraph.Segment>
Properties
| Improve this Doc View SourceFlagBitMask
Performs a bitwise AND operation with this value on every edge's flags A* encounters. The edge will only be considered as traversable if one of the resulting bits is set.
Declaration
public int FlagBitMask { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
UseFlagBitMask
Should the FlagBitMask be used?
Declaration
public bool UseFlagBitMask { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
| Improve this Doc View SourceDirectSegments(NativeSlice<PlatformerGraph.Segment>, PlatformerGraph.Location, PlatformerGraph.Location)
Flips all segment in the path that point in the wrong direction.
Declaration
public static void DirectSegments(NativeSlice<PlatformerGraph.Segment> path, PlatformerGraph.Location start, PlatformerGraph.Location goal)
Parameters
Type | Name | Description |
---|---|---|
Unity.Collections.NativeSlice<PlatformerGraph.Segment> | path | |
PlatformerGraph.Location | start | |
PlatformerGraph.Location | goal |