|
static Vector2 | AnchorOffset (Vector2 uiPos, RectTransform rt, Vector2 anchor) |
|
static bool | Contains (this RectTransform rt, Vector3 screenPos) |
|
static bool | RectContains (RectTransform rt, Vector3 screenPos) |
|
static Vector2 | ScreenToUISpacePos (Vector3 screenPos, RectTransform canvasRect, out bool zPositive) |
|
static Vector2 CanvasUtil.AnchorOffset |
( |
Vector2 |
uiPos, |
|
|
RectTransform |
rt, |
|
|
Vector2 |
anchor |
|
) |
| |
|
inlinestatic |
static bool CanvasUtil.Contains |
( |
this RectTransform |
rt, |
|
|
Vector3 |
screenPos |
|
) |
| |
|
inlinestatic |
static bool CanvasUtil.RectContains |
( |
RectTransform |
rt, |
|
|
Vector3 |
screenPos |
|
) |
| |
|
inlinestatic |
static Vector2 CanvasUtil.ScreenToUISpacePos |
( |
Vector3 |
screenPos, |
|
|
RectTransform |
canvasRect, |
|
|
out bool |
zPositive |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file:
- KSP/Assets/Scripts/Util Scripts/KSPUtil/Utility Classes/CanvasUtil.cs