|
static Rect | HorizontalGridCell (Rect rect, int count, int index) |
|
static Rect | VerticalGridCell (Rect rect, int count, int index) |
|
static Rect | GridCell (Rect rect, int columns, int rows, int index) |
|
static Rect[,] | SplitGrid (Rect rect, int columns, int rows) |
|
static Rect | RightAlignInside (Rect container, float width, float offset=0f) |
|
static void | SplitLeft (Rect rect, float size, out Rect left, out Rect right) |
|
static void | SplitRight (Rect rect, float size, out Rect left, out Rect right) |
|
static Vector2 | WorldToAnchoredPosition (Vector3 worldPos, Camera worldCamera, Canvas targetCanvas) |
|
static Rect | OffsetLeft (Rect rect, float amount) |
|
static Rect | OffsetRight (Rect rect, float amount) |
|
static Rect | OffsetTop (Rect rect, float amount) |
|
static Rect | OffsetBottom (Rect rect, float amount) |
|
static Rect Rect right | SplitHorizontalFixedWidthRight (Rect rect, float rightWidth, float padding=2) |
|
static Rect Rect right | SplitHorizontal (Rect rect, float leftAmount=0.5f, float padding=2) |
|
static Rect Rect Rect right | SplitIntoThreeParts (Rect rect, float leftAmount=0.33f, float padding=2) |
|
◆ GridCell()
static Rect Megapop.MegaCore.RectLayout.GridCell |
( |
Rect |
rect, |
|
|
int |
columns, |
|
|
int |
rows, |
|
|
int |
index |
|
) |
| |
|
inlinestatic |
◆ HorizontalGridCell()
static Rect Megapop.MegaCore.RectLayout.HorizontalGridCell |
( |
Rect |
rect, |
|
|
int |
count, |
|
|
int |
index |
|
) |
| |
|
inlinestatic |
◆ OffsetBottom()
static Rect Megapop.MegaCore.RectLayout.OffsetBottom |
( |
Rect |
rect, |
|
|
float |
amount |
|
) |
| |
|
inlinestatic |
◆ OffsetLeft()
static Rect Megapop.MegaCore.RectLayout.OffsetLeft |
( |
Rect |
rect, |
|
|
float |
amount |
|
) |
| |
|
inlinestatic |
◆ OffsetRight()
static Rect Megapop.MegaCore.RectLayout.OffsetRight |
( |
Rect |
rect, |
|
|
float |
amount |
|
) |
| |
|
inlinestatic |
◆ OffsetTop()
static Rect Megapop.MegaCore.RectLayout.OffsetTop |
( |
Rect |
rect, |
|
|
float |
amount |
|
) |
| |
|
inlinestatic |
◆ RightAlignInside()
static Rect Megapop.MegaCore.RectLayout.RightAlignInside |
( |
Rect |
container, |
|
|
float |
width, |
|
|
float |
offset = 0f |
|
) |
| |
|
inlinestatic |
◆ SplitGrid()
static Rect[,] Megapop.MegaCore.RectLayout.SplitGrid |
( |
Rect |
rect, |
|
|
int |
columns, |
|
|
int |
rows |
|
) |
| |
|
inlinestatic |
◆ SplitHorizontal()
static Rect Rect right Megapop.MegaCore.RectLayout.SplitHorizontal |
( |
Rect |
rect, |
|
|
float |
leftAmount = 0.5f , |
|
|
float |
padding = 2 |
|
) |
| |
|
inlinestatic |
◆ SplitHorizontalFixedWidthRight()
static Rect Rect right Megapop.MegaCore.RectLayout.SplitHorizontalFixedWidthRight |
( |
Rect |
rect, |
|
|
float |
rightWidth, |
|
|
float |
padding = 2 |
|
) |
| |
|
inlinestatic |
◆ SplitIntoThreeParts()
static Rect Rect Rect right Megapop.MegaCore.RectLayout.SplitIntoThreeParts |
( |
Rect |
rect, |
|
|
float |
leftAmount = 0.33f , |
|
|
float |
padding = 2 |
|
) |
| |
|
inlinestatic |
◆ SplitLeft()
static void Megapop.MegaCore.RectLayout.SplitLeft |
( |
Rect |
rect, |
|
|
float |
size, |
|
|
out Rect |
left, |
|
|
out Rect |
right |
|
) |
| |
|
inlinestatic |
◆ SplitRight()
static void Megapop.MegaCore.RectLayout.SplitRight |
( |
Rect |
rect, |
|
|
float |
size, |
|
|
out Rect |
left, |
|
|
out Rect |
right |
|
) |
| |
|
inlinestatic |
◆ VerticalGridCell()
static Rect Megapop.MegaCore.RectLayout.VerticalGridCell |
( |
Rect |
rect, |
|
|
int |
count, |
|
|
int |
index |
|
) |
| |
|
inlinestatic |
◆ WorldToAnchoredPosition()
static Vector2 Megapop.MegaCore.RectLayout.WorldToAnchoredPosition |
( |
Vector3 |
worldPos, |
|
|
Camera |
worldCamera, |
|
|
Canvas |
targetCanvas |
|
) |
| |
|
inlinestatic |
◆ center
Rect Rect Megapop.MegaCore.RectLayout.center |
|
static |
◆ left
static Rect Megapop.MegaCore.RectLayout.left |
|
static |
The documentation for this class was generated from the following file: