Class RectExtension
- Namespace
- AwesomeTechnologies.Utility.Quadtree
- Assembly
- Assembly-CSharp.dll
public static class RectExtension
- Inheritance
-
RectExtension
- Inherited Members
-
Methods
Contains(Rect, Rect)
public static bool Contains(this Rect self, Rect rect)
Parameters
self Rect
rect Rect
Returns
- bool
CreateBoundsFromRect(Rect)
public static Bounds CreateBoundsFromRect(Rect rect)
Parameters
rect Rect
Returns
- Bounds
CreateBoundsFromRect(Rect, float)
public static Bounds CreateBoundsFromRect(Rect rect, float centerY)
Parameters
rect Rect
centerY float
Returns
- Bounds
CreateBoundsFromRect(Rect, float, float)
public static Bounds CreateBoundsFromRect(Rect rect, float centerY, float sizeY)
Parameters
rect Rect
centerY float
sizeY float
Returns
- Bounds
CreateRectFromBounds(Bounds)
public static Rect CreateRectFromBounds(Bounds bounds)
Parameters
bounds Bounds
Returns
- Rect
Expand(Rect, Vector2)
public static Rect Expand(this Rect self, Vector2 expantionSize)
Parameters
self Rect
expantionSize Vector2
Returns
- Rect
FromBounds(Rect, Bounds)
public static void FromBounds(this Rect self, Bounds bounds)
Parameters
self Rect
bounds Bounds
PolarOffset(Rect)
public static Rect PolarOffset(this Rect self)
Parameters
self Rect
Returns
- Rect