Method | Description | |
---|---|---|
CalculateRelativeRectTransformBounds ( |
||
CalculateRelativeRectTransformBounds ( |
||
FlipLayoutAxes ( |
Flips the horizontal and vertical axes of the RectTransform size and alignment, and optionally its children as well.
|
|
FlipLayoutOnAxis ( |
Flips the alignment of the RectTransform along the horizontal or vertical axis, and optionally its children as well.
|
|
PixelAdjustPoint ( |
Convert a given point in screen space into a pixel correct point.
|
|
PixelAdjustRect ( |
Given a rect transform, return the corner points in pixel accurate coordinates.
|
|
RectangleContainsScreenPoint ( |
||
RectangleContainsScreenPoint ( |
Does the RectTransform contain the screen point as seen from the given camera?
|
|
ScreenPointToLocalPointInRectangle ( |
||
ScreenPointToRay ( |
||
ScreenPointToWorldPointInRectangle ( |
||
WorldToScreenPoint ( |
Method | Description | |
---|---|---|
GetTransposed ( |
||
INTERNAL_CALL_PixelAdjustPoint ( |
||
INTERNAL_CALL_PixelAdjustRect ( |
||
INTERNAL_CALL_RectangleContainsScreenPoint ( |
||
RectTransformUtility ( ) : System |
public static CalculateRelativeRectTransformBounds ( |
||
trans | ||
return |
public static CalculateRelativeRectTransformBounds ( |
||
root | ||
child | ||
return |
public static FlipLayoutAxes ( |
||
rect | The RectTransform to flip. | |
keepPositioning | bool | Flips around the pivot if true. Flips within the parent rect if false. |
recursive | bool | Flip the children as well? |
return | void |
public static FlipLayoutOnAxis ( |
||
rect | The RectTransform to flip. | |
axis | int | The axis to flip along. 0 is horizontal and 1 is vertical. |
keepPositioning | bool | Flips around the pivot if true. Flips within the parent rect if false. |
recursive | bool | Flip the children as well? |
return | void |
public static PixelAdjustPoint ( |
||
point | ||
elementTransform | ||
canvas | ||
return |
public static PixelAdjustRect ( |
||
rectTransform | ||
canvas | ||
return |
public static RectangleContainsScreenPoint ( |
||
rect | ||
screenPoint | ||
return | bool |
public static RectangleContainsScreenPoint ( |
||
rect | The RectTransform to test with. | |
screenPoint | The screen point to test. | |
cam | The camera from which the test is performed from. (Optional) | |
return | bool |
public static ScreenPointToLocalPointInRectangle ( |
||
rect | ||
screenPoint | ||
cam | ||
localPoint | ||
return | bool |
public static ScreenPointToRay ( |
||
cam | ||
screenPos | ||
return |
public static ScreenPointToWorldPointInRectangle ( |
||
rect | ||
screenPoint | ||
cam | ||
worldPoint | ||
return | bool |
public static WorldToScreenPoint ( |
||
cam | ||
worldPoint | ||
return |