Manual     Reference     Scripting  
  
Scripting > Runtime Classes > Bounds   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Attributes
  • Enumerations
  • History
  • Index
  • Bounds
  • All Members
  • Variables
  • center
  • extents
  • max
  • min
  • size
  • Constructors
  • Bounds
  • Functions
  • Contains
  • Encapsulate
  • Expand
  • IntersectRay
  • Intersects
  • SetMinMax
  • SqrDistance
  • ToString

Bounds.size  

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