Struct NavMeshFunnelProcessor
Processes the path on a navmesh using the Simple Stupid Funnel algorithm.
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
Namespace: AnyPath.Graphs
Assembly: Assembly-CSharp.dll
Syntax
public struct NavMeshFunnelProcessor : IPathProcessor<NavMeshGraph.Location, NavMeshGraph.Segment>
Constructors
| Improve this Doc View SourceNavMeshFunnelProcessor(Boolean)
Basic funnel processor
Declaration
public NavMeshFunnelProcessor(bool unwrap3D)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | unwrap3D | Set to true if your navmesh may be curved in space. If false, the XZ projection is used. |
NavMeshFunnelProcessor(Boolean, Int32)
Funnel procesor with a FlagBitMask set.
Declaration
public NavMeshFunnelProcessor(bool unwrap3D, int flagBitMask)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | unwrap3D | Set to true if your navmesh may be curved in space. If false, the XZ projection is used. |
System.Int32 | flagBitMask | FlagBitMask for more information |
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 |
Unwrap3D
Set to true if your path has arbitrary rotations in 3D space. If this value is false, the path is projected onto the XZ plane.
Declaration
public bool Unwrap3D { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
UseFlagBitMask
Should the FlagBitMask be used?
Declaration
public bool UseFlagBitMask { readonly get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |