ClosestPointOnPlane
For a given point returns the closest point on the plane.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
ClosestPointOnPlane(Vector3)
For a given returns the closest point on the plane.
pointpublic readonly 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 |
ClosestPointOnPlane(Vector3)
For a given returns the closest point on the plane.
pointpublic readonly Vector3 ClosestPointOnPlane(in Vector3 point)
Parameters
The point to project onto the plane.
Returns
Type | Description |
|---|---|
| Vector3 | A point on the plane that is closest to |