Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

Bounds.Expand

Expand(amount: float): void;
void Expand(float amount);
def Expand(amount as float) as void

Description

Expand the bounds by increasing its size by amount along each side.

Expand(amount: Vector3): void;
void Expand(Vector3 amount);
def Expand(amount as Vector3) as void

Description

Expand the bounds by increasing its size by amount along each side.