Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Distance

Get/set the distance of the plane from the origin. May be a negative value.
Read time 1 minuteLast updated 11 days ago

Definition

public float Distance { get; set; }

Remarks

It is assumed that the normal is unit length. If you set a new plane such that Ax + By + Cz + Dw = 0 but (A, B, C) is not unit length, then you must normalize the plane by calling Plane.Normalize.