SqrDistance
The smallest squared distance between the point and this bounding box.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
SqrDistance(Vector3)
The smallest squared distance between the point and this bounding box.
public readonly float SqrDistance(Vector3 point)
Parameters
Returns
Type | Description |
|---|---|
| float |
SqrDistance(Vector3)
The smallest squared distance between the point and this bounding box.
public readonly float SqrDistance(in Vector3 point)
Parameters
Returns
Type | Description |
|---|---|
| float |