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

var size: Vector3;
Vector3 size;
size as Vector3

Description

The total size of the box. This is always twice as large as the extents.

size.x is the width, size.y is the height and size.z is the depth of the box.