|
delegate? float | GetNodePenaltyHandler (PathNode node, PathNode prevNode) |
|
delegate? float | GetSingleNodePenaltyHandler (PathNode node) |
|
| PathFinder (List< WayPoint > wayPoints, bool isCharacter) |
|
SteeringPath | FindPath (Vector2 start, Vector2 end, Submarine hostSub=null, string errorMsgStr=null, float minGapSize=0, Func< PathNode, bool > startNodeFilter=null, Func< PathNode, bool > endNodeFilter=null, Func< PathNode, bool > nodeFilter=null, bool checkVisibility=true) |
|
Definition at line 108 of file PathFinder.cs.
◆ PathFinder()
Barotrauma.PathFinder.PathFinder |
( |
List< WayPoint > |
wayPoints, |
|
|
bool |
isCharacter |
|
) |
| |
◆ FindPath()
SteeringPath Barotrauma.PathFinder.FindPath |
( |
Vector2 |
start, |
|
|
Vector2 |
end, |
|
|
Submarine |
hostSub = null , |
|
|
string |
errorMsgStr = null , |
|
|
float |
minGapSize = 0 , |
|
|
Func< PathNode, bool > |
startNodeFilter = null , |
|
|
Func< PathNode, bool > |
endNodeFilter = null , |
|
|
Func< PathNode, bool > |
nodeFilter = null , |
|
|
bool |
checkVisibility = true |
|
) |
| |
◆ GetNodePenaltyHandler()
delegate? float Barotrauma.PathFinder.GetNodePenaltyHandler |
( |
PathNode |
node, |
|
|
PathNode |
prevNode |
|
) |
| |
◆ GetSingleNodePenaltyHandler()
delegate? float Barotrauma.PathFinder.GetSingleNodePenaltyHandler |
( |
PathNode |
node | ) |
|
◆ GetNodePenalty
◆ GetSingleNodePenalty
◆ ApplyPenaltyToOutsideNodes
bool Barotrauma.PathFinder.ApplyPenaltyToOutsideNodes |
|
getset |
◆ InsideSubmarine
bool Barotrauma.PathFinder.InsideSubmarine |
|
getset |