Class TriangleMeshNode Extends MeshNode
Node represented by a triangle.
Public Methods
Closest point on the surface of this node to the point p.
Closest point on the surface of this node when seen from above.
Checks if point is inside the node when seen from above.
Checks if point is inside the node when seen from above, as defined by the movement plane.
Checks if point is inside the node in graph space.
The position of the path node during the search.
Deserializes the node data from a byte array.
Add a portal from this node to the specified node.
Get a vertex of this node.
Return a number specifying an index in the source vertex array.
Number of corner vertices that this node has.
Return a number identifying a vertex.
Returns all 3 vertices of this node in world space.
Returns all 3 vertices of this node in graph space.
Open the node.
Open the node at a specific point.
Projects the given point onto the plane of this node's surface.
A random point on the surface of the node.
Serialized the node data to a byte array.
Returns the edge which is shared with other.
Set the position of this node to the average of its 3 vertices.
Public Static Methods
Sets the internal navmesh holder for a given graph index.
Public Variables
Tile index in the recast or navmesh graph that this node is part of.
Internal vertex index for the first vertex.
Internal vertex index for the second vertex.
Internal vertex index for the third vertex.
Public Static Variables
Inherited Public Members
Add a connection from this node to the specified node.
Add a connection from this node to the specified node.
Connected component that contains the node.
Remove all connections between this node and other nodes.
Adds a connection between two nodes.
True if this node contains a connection to the given node.
Checks if point is inside the node when seen from above.
Used to deserialize references to other nodes e.g connections.
Destroys the node.
Removes the connection between two nodes.
Holds various bitpacked variables.
Calls the delegate with all connections from this node.
Calls the delegate with all connections from or to this node, and passes a custom data value to the delegate.
Hash code used for checking if the gizmos need to be updated.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Max number of tags - 1.
Internal unique index.
Penalty cost for walking on this node.
Removes any connection from this node to the specified node.
Used to serialize references to other nodes e.g connections.
Inform the system that the node's connectivity has changed.
Node tag.
True if the node is traversable.
All connections from this node.
Position of the node in world space.
Private/Protected Members
Closest point on the node when seen from above.
Hierarchical Node that contains this node.
Some internal bookkeeping.
How many path node variants should be created for each node.
Temporary flag for internal purposes.
Temporary flag for internal purposes.
Holds INavmeshHolder references for all graph indices to be able to access them in a performant manner.
Bitpacked field holding several pieces of data.