Utils for structs (since they can't directly work with extension methods)
More...
|
static Rect | Add (Rect a, Rect b) |
| Adds one rect into another, and returns the resulting a More...
|
|
static bool | Includes (Rect a, Rect b) |
| Returns TRUE if the first rect fully includes the second one More...
|
|
static Rect | Shift (Rect rect, float x, float y, float width, float height) |
| Modifies and returns the given Rect, with its values shifted according the the given parameters More...
|
|
Utils for structs (since they can't directly work with extension methods)
static Rect DG.DeUtils.DeRectUtils.Add |
( |
Rect |
a, |
|
|
Rect |
b |
|
) |
| |
|
static |
Adds one rect into another, and returns the resulting a
static bool DG.DeUtils.DeRectUtils.Includes |
( |
Rect |
a, |
|
|
Rect |
b |
|
) |
| |
|
static |
Returns TRUE if the first rect fully includes the second one
static Rect DG.DeUtils.DeRectUtils.Shift |
( |
Rect |
rect, |
|
|
float |
x, |
|
|
float |
y, |
|
|
float |
width, |
|
|
float |
height |
|
) |
| |
|
static |
Modifies and returns the given Rect, with its values shifted according the the given parameters
The documentation for this class was generated from the following file:
- D:/DG/_Develop/__UNITY3_CLASSES/_Holoville/__Demigiant.Libraries/_Demigiant.Libraries/DeUtils/DeRectUtils.cs