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.
Checks if point is inside the node in graph space.
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.
A random point on the surface of the node.
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
Internal vertex index for the first vertex.
Internal vertex index for the second vertex.
Internal vertex index for the third vertex.
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 from this node.
All connections from this node.
Checks if this node has a connection to the specified node.
Checks if point is inside the node.
Used to deserialize references to other nodes e.g connections.
Holds various bitpacked variables.
Calls the delegate with all connections from this node.
Hash code used for checking if the gizmos need to be updated.
Add a portal from this node to the specified node.
Graph which this node belongs to.
Graph which contains this node.
Max number of graphs-1.
Internal unique index.
Penalty cost for walking on this node.
Position of the node in world space.
Recalculates all connection costs from this node.
Removes any connection from this node to the specified node.
Used to serialize references to other nodes e.g connections.
Node tag.
True if the node is traversable.
Private/Protected Members
Holds INavmeshHolder references for all graph indices to be able to access them in a performant manner.
Closest point on the node when seen from above.
Destroys the node.
Bitpacked field holding several pieces of data.