ドキュメント

Unity Engine

Unity Engine

ClosestPointOnPlane

For a given point returns the closest point on the plane.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

ClosestPointOnPlane(Vector3)

For a given
point
returns the closest point on the plane.
public readonly Vector3 ClosestPointOnPlane(Vector3 point)

Parameters

point

The point to project onto the plane.

Returns

Type

Description

Vector3A point on the plane that is closest to
point
.

ClosestPointOnPlane(Vector3)

For a given
point
returns the closest point on the plane.
public readonly Vector3 ClosestPointOnPlane(in Vector3 point)

Parameters

point

The point to project onto the plane.

Returns

Type

Description

Vector3A point on the plane that is closest to
point
.