Function PathTracer.SquaredDistanceToNode
        
                SquaredDistanceToNode
        
                (GraphNode node, Vector3 point, refBBTree.ProjectionParams projectionParams)
    
            
            Calculates the squared distance from a point to the closest point on the node.
                Public
                    Static
            
        float SquaredDistanceToNode (
node  |         The node to calculate the distance to  | 
                |
point  |         The point to calculate the distance from. For navmesh/recast/grid graphs this point should be in graph space.  | 
                |
projectionParams  |         Parameters for the projection, if the node is a triangle mesh node. The projection should be based on the node's graph.  | 
                
Calculates the squared distance from a point to the closest point on the node.