float GetBoundsSqrDistance | ( | Vector3 | point, |
BoundsType | bounds, | ||
VectorProjectionType | vectorProjection = VectorProjectionType.None |
||
) |
Returns the square distance to the bounds of this percept specified by the given bounds .
point | The reference position. |
bounds | The BoundsType to be used. |
vectorProjection | Applies a vector projection to this calculation. |