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

public Vector3 extents;

Description

The extents of the box. This is always half of the size.

Note: If Bounds.extents has a negative value for any axis, Bounds.Contains always returns False.