p0 | 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.
Did you find this page useful? Please give it a rating: