Esempio n. 1
0
 public static Rect ClipToWindow(Rect absoluteRect)
 {
     return(GUIClip.ClipToWindow_Rect(absoluteRect));
 }
Esempio n. 2
0
 public static Vector2 GUIToScreenPoint(Vector2 guiPoint)
 {
     return(GUIClip.Unclip(guiPoint) + GUIUtility.s_EditorScreenPointOffset);
 }
Esempio n. 3
0
 // Convert a point from GUI position to screen space.
 public static Vector2 GUIToScreenPoint(Vector2 guiPoint)
 {
     return(InternalWindowToScreenPoint(GUIClip.UnclipToWindow(guiPoint)));
 }
Esempio n. 4
0
 public static Rect Unclip(Rect rect)
 {
     GUIClip.Unclip_Rect(ref rect);
     return(rect);
 }
Esempio n. 5
0
 public static Rect Clip(Rect absoluteRect)
 {
     GUIClip.Internal_Clip_Rect(ref absoluteRect);
     return(absoluteRect);
 }
Esempio n. 6
0
 internal static void Internal_PushParentClip(Matrix4x4 objectTransform, Rect clipRect)
 {
     GUIClip.INTERNAL_CALL_Internal_PushParentClip(ref objectTransform, ref clipRect);
 }
Esempio n. 7
0
 internal static void Pop()
 {
     GUIClip.Internal_Pop();
 }
Esempio n. 8
0
 public static Rect UnclipToWindow(Rect rect)
 {
     GUIClip.UnclipToWindow_Rect(ref rect);
     return(rect);
 }
Esempio n. 9
0
 public static Vector2 ClipToWindow(Vector2 absolutePos)
 {
     GUIClip.ClipToWindow_Vector2(ref absolutePos);
     return(absolutePos);
 }
Esempio n. 10
0
 // Convert a point from screen space to GUI position.
 public static Vector2 ScreenToGUIPoint(Vector2 screenPoint)
 {
     return(GUIClip.ClipToWindow(screenPoint) - s_EditorScreenPointOffset);
 }
Esempio n. 11
0
 internal static void SetTransform(Matrix4x4 clipTransform, Matrix4x4 objectTransform, Rect clipRect)
 {
     GUIClip.INTERNAL_CALL_SetTransform(ref clipTransform, ref objectTransform, ref clipRect);
 }
Esempio n. 12
0
 // Convert a point from GUI position to screen space.
 public static Vector2 GUIToScreenPoint(Vector2 guiPoint)
 {
     return(GUIClip.UnclipToWindow(guiPoint) + s_EditorScreenPointOffset);
 }
Esempio n. 13
0
 internal static void Internal_Push(Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset)
 {
     GUIClip.Internal_Push_Injected(ref screenRect, ref scrollOffset, ref renderOffset, resetOffset);
 }
Esempio n. 14
0
 public static Vector2 GetAbsoluteMousePosition()
 {
     return(GUIClip.Internal_GetAbsoluteMousePosition());
 }
Esempio n. 15
0
 private static void ClipToWindow_Rect(ref Rect absoluteRect)
 {
     GUIClip.INTERNAL_CALL_ClipToWindow_Rect(ref absoluteRect);
 }
Esempio n. 16
0
 public static Rect ClipToWindow(Rect absoluteRect)
 {
     GUIClip.ClipToWindow_Rect(ref absoluteRect);
     return(absoluteRect);
 }
Esempio n. 17
0
 internal static void SetMatrix(Matrix4x4 m)
 {
     GUIClip.INTERNAL_CALL_SetMatrix(ref m);
 }
Esempio n. 18
0
 internal static void Internal_Push(Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset)
 {
     GUIClip.INTERNAL_CALL_Internal_Push(ref screenRect, ref scrollOffset, ref renderOffset, resetOffset);
 }
Esempio n. 19
0
 internal static void Push(Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset)
 {
     GUIClip.Internal_Push(screenRect, scrollOffset, renderOffset, resetOffset);
 }
Esempio n. 20
0
 private static void Internal_Clip_Rect(ref Rect absoluteRect)
 {
     GUIClip.INTERNAL_CALL_Internal_Clip_Rect(ref absoluteRect);
 }
Esempio n. 21
0
 public static Vector2 Unclip(Vector2 pos)
 {
     GUIClip.Unclip_Vector2(ref pos);
     return(pos);
 }
Esempio n. 22
0
 public ParentClipScope(Matrix4x4 objectTransform, Rect clipRect)
 {
     this.m_Disposed = false;
     GUIClip.Internal_PushParentClip(objectTransform, clipRect);
 }
Esempio n. 23
0
 public static Vector2 Clip(Vector2 absolutePos)
 {
     GUIClip.Clip_Vector2(ref absolutePos);
     return(absolutePos);
 }
Esempio n. 24
0
 private static void UnclipToWindow_Vector2(ref Vector2 pos)
 {
     GUIClip.INTERNAL_CALL_UnclipToWindow_Vector2(ref pos);
 }
Esempio n. 25
0
 public static Vector2 UnclipToWindow(Vector2 pos)
 {
     GUIClip.UnclipToWindow_Vector2(ref pos);
     return(pos);
 }
Esempio n. 26
0
 private static void UnclipToWindow_Rect(ref Rect rect)
 {
     GUIClip.INTERNAL_CALL_UnclipToWindow_Rect(ref rect);
 }
Esempio n. 27
0
 public static Vector2 ScreenToGUIPoint(Vector2 screenPoint)
 {
     return(GUIClip.Clip(screenPoint) - GUIUtility.s_EditorScreenPointOffset);
 }
Esempio n. 28
0
 private static void ClipToWindow_Vector2(ref Vector2 absolutePos)
 {
     GUIClip.INTERNAL_CALL_ClipToWindow_Vector2(ref absolutePos);
 }
Esempio n. 29
0
 // Convert a point from screen space to GUI position.
 public static Vector2 ScreenToGUIPoint(Vector2 screenPoint)
 {
     return(GUIClip.ClipToWindow(InternalScreenToWindowPoint(screenPoint)));
 }
Esempio n. 30
0
 public static Vector2 ClipToWindow(Vector2 absolutePos)
 {
     return(GUIClip.ClipToWindow_Vector2(absolutePos));
 }