Nebula
Loading...
Searching...
No Matches
Mathf.PlaneHelper Class Reference

Static Public Member Functions

static float ClassifyPoint (ref Vector3 point, ref Plane plane)
 Returns a value indicating what side (positive/negative) of a plane a point is.
 
static float PerpendicularDistance (ref Vector3 point, ref Plane plane)
 Returns the perpendicular distance from a point to a plane.
 

Member Function Documentation

◆ ClassifyPoint()

static float Mathf.PlaneHelper.ClassifyPoint ( ref Vector3 point,
ref Plane plane )
inlinestatic

Returns a value indicating what side (positive/negative) of a plane a point is.

Parameters
pointThe point to check with
planeThe plane to check against
Returns
Greater than zero if on the positive side, less than zero if on the negative size, 0 otherwise

◆ PerpendicularDistance()

static float Mathf.PlaneHelper.PerpendicularDistance ( ref Vector3 point,
ref Plane plane )
inlinestatic

Returns the perpendicular distance from a point to a plane.

Parameters
pointThe point to check
planeThe place to check
Returns
The perpendicular distance from the point to the plane

The documentation for this class was generated from the following file: