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