文档

Unity Engine

Unity Engine

Set3Points

Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
阅读时间1 分钟最后更新于 1 个月前

Definition

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

Set3Points(Vector3, Vector3, Vector3)

Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
public void Set3Points(Vector3 a, Vector3 b, Vector3 c)

Parameters

First point in clockwise order.

Second point in clockwise order.

Third point in clockwise order.

Remarks

Additional Resources: Plane.SetNormalAndPosition.

Set3Points(Vector3, Vector3, Vector3)

Sets a plane using three points that lie within it. The points go around clockwise as you look down on the top surface of the plane.
public void Set3Points(in Vector3 a, in Vector3 b, in Vector3 c)

Parameters

First point in clockwise order.

Second point in clockwise order.

Third point in clockwise order.

Remarks

Additional Resources: Plane.SetNormalAndPosition.