Plane
Constructs a Plane from arbitrary coefficients A, B, C, D of the plane equation Ax + By + Cz + Dw = 0.
Read time 2 minutesLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: Unity.Mathematics.Geometry
- Assembly: UnityEngine.MathematicsModule
Plane(float, float, float, float)
Constructs a Plane from arbitrary coefficients A, B, C, D of the plane equation Ax + By + Cz + Dw = 0.
public Plane(float coefficientA, float coefficientB, float coefficientC, float coefficientD)
Parameters
Remarks
The constructed plane will be the normalized form of the plane specified by the given coefficients.
Plane(float3, float)
Constructs a plane with a normal vector and distance from the origin.
public Plane(float3 normal, float distance)
Parameters
Remarks
The constructed plane will be the normalized form of the plane specified by the inputs.
Plane(float3, float3)
Constructs a plane with a normal vector and a point that lies in the plane.
public Plane(float3 normal, float3 pointInPlane)
Parameters
Remarks
The constructed plane will be the normalized form of the plane specified by the inputs.
Plane(float3, float3, float3)
Constructs a plane with two vectors and a point that all lie in the plane.
public Plane(float3 vector1InPlane, float3 vector2InPlane, float3 pointInPlane)
Parameters
Remarks
The constructed plane will be the normalized form of the plane specified by the inputs.