Documentation

Unity Engine

Unity Engine

Encapsulate

Grows the Bounds to include the point.
Read time 1 minuteLast updated a month ago

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