文档

Unity Engine

Unity Engine

ClosestPointOnPlane(Vector3)

For a given point returns the closest point on the plane.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public 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.