ドキュメント

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.