Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

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.