ClosestPointOnPlane(Vector3)
For a given point returns the closest point on the plane.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public Vector3 ClosestPointOnPlane(Vector3 point)
Parameters
The point to project onto the plane.
Returns
Type | Description |
|---|---|
| Vector3 | A point on the plane that is closest to point. |