文档

Unity Engine

Unity Engine

distance

The distance measured from the Plane to the origin, along the Plane's normal.
阅读时间1 分钟最后更新于 1 天前

Definition

public float distance { 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.