Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Closep0 | The vertex of the first corner. |
p1 | The vertex of the second corner. |
p2 | The vertex of the third corner. |
p3 | The vertex of the fourth corner. |
Outputs four points, in device space, representing the four corners of the plane. The corners are in clockwise order.
"Clockwise" winding means the plane's four vertices p0
, p1
, p2
, and p3
rotate clockwise around the plane's center. Viewing the plane from a perspective where the vertices appear in this order would be considered the "front" of the plane. The cross product Vector3.Cross(p1 - p0, p3 - p0)
will be in the same direction as BoundedPlane.Normal.
Meshes also use clockwise winding.