C# Class Pathfinding.ABPath

Inheritance: Path
显示文件 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
calculatePartial bool
endHint GraphNode
endNode GraphNode
endPoint UnityEngine.Vector3
originalEndPoint UnityEngine.Vector3
originalStartPoint UnityEngine.Vector3
recalcStartEndCosts bool
startHint GraphNode
startIntPoint Int3
startNode GraphNode
startPoint UnityEngine.Vector3

Protected Properties

Property Type Description
endNodeCosts int[]
hasEndPoint bool
partialBestTarget PathNode

Public Methods

Method Description
ABPath ( ) : UnityEngine
CalculateStep ( long targetTick ) : void
Cleanup ( ) : void
Construct ( Vector3 start, Vector3 end, OnPathDelegate callback = null ) : ABPath
DebugString ( PathLog logMode ) : string
GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
GetMovementVector ( Vector3 point ) : Vector3
Initialize ( ) : void
Prepare ( ) : void
Reset ( ) : void
ResetCosts ( Path p ) : void

Protected Methods

Method Description
Recycle ( ) : void
Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
UpdateStartEnd ( Vector3 start, Vector3 end ) : void

Private Methods

Method Description
ABPath ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : UnityEngine

Method Details

ABPath() public method

public ABPath ( ) : UnityEngine
return UnityEngine

CalculateStep() public method

public CalculateStep ( long targetTick ) : void
targetTick long
return void

Cleanup() public method

public Cleanup ( ) : void
return void

Construct() public static method

public static Construct ( Vector3 start, Vector3 end, OnPathDelegate callback = null ) : ABPath
start UnityEngine.Vector3
end UnityEngine.Vector3
callback OnPathDelegate
return ABPath

DebugString() public method

public DebugString ( PathLog logMode ) : string
logMode PathLog
return string

GetConnectionSpecialCost() public method

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
return uint

GetMovementVector() public method

public GetMovementVector ( Vector3 point ) : Vector3
point UnityEngine.Vector3
return UnityEngine.Vector3

Initialize() public method

public Initialize ( ) : void
return void

Prepare() public method

public Prepare ( ) : void
return void

Recycle() protected method

protected Recycle ( ) : void
return void

Reset() public method

public Reset ( ) : void
return void

ResetCosts() public method

public ResetCosts ( Path p ) : void
p Path
return void

Setup() protected method

protected Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
callbackDelegate OnPathDelegate
return void

UpdateStartEnd() protected method

protected UpdateStartEnd ( Vector3 start, Vector3 end ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
return void

Property Details

calculatePartial public_oe property

public bool calculatePartial
return bool

endHint public_oe property

public GraphNode,Pathfinding endHint
return GraphNode

endNode public_oe property

public GraphNode,Pathfinding endNode
return GraphNode

endNodeCosts protected_oe property

protected int[] endNodeCosts
return int[]

endPoint public_oe property

public Vector3,UnityEngine endPoint
return UnityEngine.Vector3

hasEndPoint protected_oe property

protected bool hasEndPoint
return bool

originalEndPoint public_oe property

public Vector3,UnityEngine originalEndPoint
return UnityEngine.Vector3

originalStartPoint public_oe property

public Vector3,UnityEngine originalStartPoint
return UnityEngine.Vector3

partialBestTarget protected_oe property

protected PathNode partialBestTarget
return PathNode

recalcStartEndCosts public_oe property

public bool recalcStartEndCosts
return bool

startHint public_oe property

public GraphNode,Pathfinding startHint
return GraphNode

startIntPoint public_oe property

public Int3,Pathfinding startIntPoint
return Int3

startNode public_oe property

public GraphNode,Pathfinding startNode
return GraphNode

startPoint public_oe property

public Vector3,UnityEngine startPoint
return UnityEngine.Vector3