Click or drag to resize

Limits Structure

The replacement for the Unity's Bounds struct.

Namespace:  RavingBots.MagicGestures.Utils.Geometry
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public struct Limits

The Limits type exposes the following members.

Properties
  NameDescription
Public propertyCenter
Public propertyMax
Public propertyMin
Public propertySize
Top
Methods
Fields
  NameDescription
Private field_center
Private field_max
Private field_min
Private field_size
Top
Remarks
The Bounds provided by Unity misbehaves when its SetMinMax is used. This struct provides similar API (at least the subset we need) while correcting the behavior.
See Also