Plane
A plane represented by a normal vector and a distance along the normal from the origin.
Read time 1 minuteLast updated 9 days ago
Definition
A plane splits the 3D space in half. The normal vector points to the positive half and the other half is considered negative.
Fields
Constructors
Constructor | Description |
|---|
| Plane(System.Single,System.Single,System.Single,System.Single) | Constructs a Plane from arbitrary coefficients A, B, C, D of the plane equation Ax + By + Cz + Dw = 0. |
| Plane(Unity.Mathematics.float3,System.Single) | Constructs a plane with a normal vector and distance from the origin. |
| Plane(Unity.Mathematics.float3,Unity.Mathematics.float3) | Constructs a plane with a normal vector and a point that lies in the plane. |
| Plane(Unity.Mathematics.float3,Unity.Mathematics.float3,Unity.Mathematics.float3) | Constructs a plane with two vectors and a point that all lie in the plane. |
Properties
Property | Description |
|---|
| Distance | Get/set the distance of the plane from the origin. May be a negative value. |
| Flipped | Flips the plane so the normal points in the opposite direction. |
| Normal | Get/set the normal vector of the plane. |
Methods
Static Methods
Operators