Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Bounds.SqrDistance

SqrDistance(point: Vector3): float;
float SqrDistance(Vector3 point);
def SqrDistance(point as Vector3) as float

Description

The smallest squared distance between the point and this bounding box.