Documentation

Unity Engine

Unity Engine

SqrDistance(Vector3)

The smallest squared distance between the point and this bounding box.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public float SqrDistance(Vector3 point)

Parameters

point

Returns

Type

Description

float