LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Bounds.Encapsulate

public void Encapsulate(Vector3 point);

Description

Grows the Bounds to include the point.


public void Encapsulate(Bounds bounds);

Description

Grow the bounds to encapsulate the bounds.