기술 자료

Unity Engine

Unity Engine

SqrDistance

The smallest squared distance between the point and this bounding box.
읽는 시간 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

point

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

point

Returns

Type

Description

float