C# Class Pathfinding.ABPath

Inheritance: Path
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство 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

Свойство Type Description
endNodeCosts int[]
hasEndPoint bool
partialBestTarget PathNode

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
Recycle ( ) : void
Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
UpdateStartEnd ( Vector3 start, Vector3 end ) : void

Private Methods

Méthode Description
ABPath ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : UnityEngine

Method Details

ABPath() public méthode

public ABPath ( ) : UnityEngine
Résultat UnityEngine

CalculateStep() public méthode

public CalculateStep ( long targetTick ) : void
targetTick long
Résultat void

Cleanup() public méthode

public Cleanup ( ) : void
Résultat void

Construct() public static méthode

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

DebugString() public méthode

public DebugString ( PathLog logMode ) : string
logMode PathLog
Résultat string

GetConnectionSpecialCost() public méthode

public GetConnectionSpecialCost ( GraphNode a, GraphNode b, uint currentCost ) : uint
a GraphNode
b GraphNode
currentCost uint
Résultat uint

GetMovementVector() public méthode

public GetMovementVector ( Vector3 point ) : Vector3
point UnityEngine.Vector3
Résultat UnityEngine.Vector3

Initialize() public méthode

public Initialize ( ) : void
Résultat void

Prepare() public méthode

public Prepare ( ) : void
Résultat void

Recycle() protected méthode

protected Recycle ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

ResetCosts() public méthode

public ResetCosts ( Path p ) : void
p Path
Résultat void

Setup() protected méthode

protected Setup ( Vector3 start, Vector3 end, OnPathDelegate callbackDelegate ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
callbackDelegate OnPathDelegate
Résultat void

UpdateStartEnd() protected méthode

protected UpdateStartEnd ( Vector3 start, Vector3 end ) : void
start UnityEngine.Vector3
end UnityEngine.Vector3
Résultat void

Property Details

calculatePartial public_oe property

public bool calculatePartial
Résultat bool

endHint public_oe property

public GraphNode,Pathfinding endHint
Résultat GraphNode

endNode public_oe property

public GraphNode,Pathfinding endNode
Résultat GraphNode

endNodeCosts protected_oe property

protected int[] endNodeCosts
Résultat int[]

endPoint public_oe property

public Vector3,UnityEngine endPoint
Résultat UnityEngine.Vector3

hasEndPoint protected_oe property

protected bool hasEndPoint
Résultat bool

originalEndPoint public_oe property

public Vector3,UnityEngine originalEndPoint
Résultat UnityEngine.Vector3

originalStartPoint public_oe property

public Vector3,UnityEngine originalStartPoint
Résultat UnityEngine.Vector3

partialBestTarget protected_oe property

protected PathNode partialBestTarget
Résultat PathNode

recalcStartEndCosts public_oe property

public bool recalcStartEndCosts
Résultat bool

startHint public_oe property

public GraphNode,Pathfinding startHint
Résultat GraphNode

startIntPoint public_oe property

public Int3,Pathfinding startIntPoint
Résultat Int3

startNode public_oe property

public GraphNode,Pathfinding startNode
Résultat GraphNode

startPoint public_oe property

public Vector3,UnityEngine startPoint
Résultat UnityEngine.Vector3