Method Projection
Projection(float3)
Projects the given point onto the plane.
Declaration
public float3 Projection(float3 point)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | point | Point to project onto the plane. |
Returns
| Type | Description |
|---|---|
| float3 | Projected point that's inside the plane. |
Remarks
Plane must be normalized prior to calling this function. The result is the position closest to the point that still lies in the plane.