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.SetMinMax

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.