C# Class MeshNode, TheUnseen

Inheritance: GraphNode
Exibir arquivo Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
connectionCosts uint[]
connections GraphNode[],

Public Methods

Method Description
AddConnection ( GraphNode, node, uint cost ) : void
ClearConnections ( bool alsoReverse ) : void
ClosestPointOnNode ( Vector3 p ) : Vector3
ClosestPointOnNodeXZ ( Vector3 p ) : Vector3
ContainsConnection ( GraphNode, node ) : bool
ContainsPoint ( Int3 p ) : bool
DeserializeReferences ( Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext ctx ) : void
FloodFill ( Stack stack, uint region ) : void
GetConnections ( GraphNodeDelegate del ) : void
GetVertex ( int i ) : Int3
GetVertexCount ( ) : int
MeshNode ( AstarPath, astar ) : UnityEngine
RemoveConnection ( GraphNode, node ) : void
SerializeReferences ( Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext ctx ) : void
UpdateRecursiveG ( Path, path, PathNode, pathNode, PathHandler, handler ) : void

Method Details

AddConnection() public method

public AddConnection ( GraphNode, node, uint cost ) : void
node GraphNode,
cost uint
return void

ClearConnections() public method

public ClearConnections ( bool alsoReverse ) : void
alsoReverse bool
return void

ClosestPointOnNode() public abstract method

public abstract ClosestPointOnNode ( Vector3 p ) : Vector3
p Vector3
return Vector3

ClosestPointOnNodeXZ() public abstract method

public abstract ClosestPointOnNodeXZ ( Vector3 p ) : Vector3
p Vector3
return Vector3

ContainsConnection() public method

public ContainsConnection ( GraphNode, node ) : bool
node GraphNode,
return bool

ContainsPoint() public method

public ContainsPoint ( Int3 p ) : bool
p Int3
return bool

DeserializeReferences() public method

public DeserializeReferences ( Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext ctx ) : void
ctx Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext
return void

FloodFill() public method

public FloodFill ( Stack stack, uint region ) : void
stack Stack
region uint
return void

GetConnections() public method

public GetConnections ( GraphNodeDelegate del ) : void
del GraphNodeDelegate
return void

GetVertex() public abstract method

public abstract GetVertex ( int i ) : Int3
i int
return Int3

GetVertexCount() public abstract method

public abstract GetVertexCount ( ) : int
return int

MeshNode() public method

public MeshNode ( AstarPath, astar ) : UnityEngine
astar AstarPath,
return UnityEngine

RemoveConnection() public method

public RemoveConnection ( GraphNode, node ) : void
node GraphNode,
return void

SerializeReferences() public method

public SerializeReferences ( Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext ctx ) : void
ctx Assets.AstarPathfindingProject.Core.Serialization.GraphSerializationContext
return void

UpdateRecursiveG() public method

public UpdateRecursiveG ( Path, path, PathNode, pathNode, PathHandler, handler ) : void
path Path,
pathNode PathNode,
handler PathHandler,
return void

Property Details

connectionCosts public_oe property

public uint[] connectionCosts
return uint[]

connections public_oe property

public GraphNode[], connections
return GraphNode[],