Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

Bounds.SqrDistance

Switch to Manual
public function SqrDistance(point: Vector3): float;

Parameters

Description

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