Struct Plane
Syntax
Constructors
Plane(float3, Single)
Declaration
public Plane(float3 normal, float distance)
Parameters
Type |
Name |
Description |
Unity.Mathematics.float3 |
normal |
|
Single |
distance |
|
Properties
Distance
Declaration
public float Distance { get; set; }
Property Value
Flipped
Declaration
public Plane Flipped { get; }
Property Value
Normal
Declaration
public float3 Normal { get; set; }
Property Value
Type |
Description |
Unity.Mathematics.float3 |
|
Methods
Projection(float3)
Declaration
public float3 Projection(float3 point)
Parameters
Type |
Name |
Description |
Unity.Mathematics.float3 |
point |
|
Returns
Type |
Description |
Unity.Mathematics.float3 |
|
SignedDistanceToPoint(float3)
Declaration
public float SignedDistanceToPoint(float3 point)
Parameters
Type |
Name |
Description |
Unity.Mathematics.float3 |
point |
|
Returns
Operators
Implicit(Plane to float4)
Declaration
public static implicit operator float4(Plane plane)
Parameters
Type |
Name |
Description |
Plane |
plane |
|
Returns
Type |
Description |
Unity.Mathematics.float4 |
|