Documentation

Unity Engine


User Manual

Script Reference

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.
Read time 1 minuteLast updated 6 days ago

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.