Function GridNodeBase.ProjectOnSurface

ProjectOnSurface (Vector3 point)

Projects the given point onto the plane of this node's surface.

Public
Vector3 ProjectOnSurface (

Vector3

point

)

Projects the given point onto the plane of this node's surface.

The point will be projected down to a plane that contains the surface of the node. If the point is not contained inside the node, it is projected down onto this plane anyway.