distance
The distance measured from the Plane to the origin, along the Plane's normal.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public float distance { readonly get; set; }
Remarks
Note, this means a positive value for distance results in the Plane facing towards the origin. A negative distance value results in the Plane facing away from the origin.
Additional Resources: Plane.normal.