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

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.