Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Definition

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