메소드 | 설명 | |
---|---|---|
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 ( |
메소드 | 설명 | |
---|---|---|
GetTransposed ( |
||
INTERNAL_CALL_PixelAdjustPoint ( |
||
INTERNAL_CALL_PixelAdjustRect ( |
||
INTERNAL_CALL_RectangleContainsScreenPoint ( |
||
RectTransformUtility ( ) : System |
public static CalculateRelativeRectTransformBounds ( |
||
trans | ||
리턴 |
public static CalculateRelativeRectTransformBounds ( |
||
root | ||
child | ||
리턴 |
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? |
리턴 | 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? |
리턴 | void |
public static PixelAdjustPoint ( |
||
point | ||
elementTransform | ||
canvas | ||
리턴 |
public static PixelAdjustRect ( |
||
rectTransform | ||
canvas | ||
리턴 |
public static RectangleContainsScreenPoint ( |
||
rect | ||
screenPoint | ||
리턴 | 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) | |
리턴 | bool |
public static ScreenPointToLocalPointInRectangle ( |
||
rect | ||
screenPoint | ||
cam | ||
localPoint | ||
리턴 | bool |
public static ScreenPointToRay ( |
||
cam | ||
screenPos | ||
리턴 |
public static ScreenPointToWorldPointInRectangle ( |
||
rect | ||
screenPoint | ||
cam | ||
worldPoint | ||
리턴 | bool |
public static WorldToScreenPoint ( |
||
cam | ||
worldPoint | ||
리턴 |