文档

Unity Engine

Unity Engine

Encapsulate

Grows the Bounds to include the point.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule

Encapsulate(Vector3)

Grows the Bounds to include the
point
.
public void Encapsulate(Vector3 point)

Parameters

point

Encapsulate(Vector3)

Grows the Bounds to include the
point
.
public void Encapsulate(in Vector3 point)

Parameters

point

Encapsulate(Bounds)

Grow the bounds to encapsulate the bounds.
public void Encapsulate(Bounds bounds)

Parameters

bounds

Encapsulate(Bounds)

Grow the bounds to encapsulate the bounds.
public void Encapsulate(in Bounds bounds)

Parameters

bounds