Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

Bounds.SetMinMax

public function SetMinMax(min: Vector3, max: Vector3): void;

Description

Sets the bounds to the min and max value of the box.

Using this function is faster than assigning min and max separately.