public static Rect ClipToWindow(Rect absoluteRect) { return(GUIClip.ClipToWindow_Rect(absoluteRect)); }
public static Vector2 GUIToScreenPoint(Vector2 guiPoint) { return(GUIClip.Unclip(guiPoint) + GUIUtility.s_EditorScreenPointOffset); }
// Convert a point from GUI position to screen space. public static Vector2 GUIToScreenPoint(Vector2 guiPoint) { return(InternalWindowToScreenPoint(GUIClip.UnclipToWindow(guiPoint))); }
public static Rect Unclip(Rect rect) { GUIClip.Unclip_Rect(ref rect); return(rect); }
public static Rect Clip(Rect absoluteRect) { GUIClip.Internal_Clip_Rect(ref absoluteRect); return(absoluteRect); }
internal static void Internal_PushParentClip(Matrix4x4 objectTransform, Rect clipRect) { GUIClip.INTERNAL_CALL_Internal_PushParentClip(ref objectTransform, ref clipRect); }
internal static void Pop() { GUIClip.Internal_Pop(); }
public static Rect UnclipToWindow(Rect rect) { GUIClip.UnclipToWindow_Rect(ref rect); return(rect); }
public static Vector2 ClipToWindow(Vector2 absolutePos) { GUIClip.ClipToWindow_Vector2(ref absolutePos); return(absolutePos); }
// Convert a point from screen space to GUI position. public static Vector2 ScreenToGUIPoint(Vector2 screenPoint) { return(GUIClip.ClipToWindow(screenPoint) - s_EditorScreenPointOffset); }
internal static void SetTransform(Matrix4x4 clipTransform, Matrix4x4 objectTransform, Rect clipRect) { GUIClip.INTERNAL_CALL_SetTransform(ref clipTransform, ref objectTransform, ref clipRect); }
// Convert a point from GUI position to screen space. public static Vector2 GUIToScreenPoint(Vector2 guiPoint) { return(GUIClip.UnclipToWindow(guiPoint) + s_EditorScreenPointOffset); }
internal static void Internal_Push(Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset) { GUIClip.Internal_Push_Injected(ref screenRect, ref scrollOffset, ref renderOffset, resetOffset); }
public static Vector2 GetAbsoluteMousePosition() { return(GUIClip.Internal_GetAbsoluteMousePosition()); }
private static void ClipToWindow_Rect(ref Rect absoluteRect) { GUIClip.INTERNAL_CALL_ClipToWindow_Rect(ref absoluteRect); }
public static Rect ClipToWindow(Rect absoluteRect) { GUIClip.ClipToWindow_Rect(ref absoluteRect); return(absoluteRect); }
internal static void SetMatrix(Matrix4x4 m) { GUIClip.INTERNAL_CALL_SetMatrix(ref m); }
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); }
internal static void Push(Rect screenRect, Vector2 scrollOffset, Vector2 renderOffset, bool resetOffset) { GUIClip.Internal_Push(screenRect, scrollOffset, renderOffset, resetOffset); }
private static void Internal_Clip_Rect(ref Rect absoluteRect) { GUIClip.INTERNAL_CALL_Internal_Clip_Rect(ref absoluteRect); }
public static Vector2 Unclip(Vector2 pos) { GUIClip.Unclip_Vector2(ref pos); return(pos); }
public ParentClipScope(Matrix4x4 objectTransform, Rect clipRect) { this.m_Disposed = false; GUIClip.Internal_PushParentClip(objectTransform, clipRect); }
public static Vector2 Clip(Vector2 absolutePos) { GUIClip.Clip_Vector2(ref absolutePos); return(absolutePos); }
private static void UnclipToWindow_Vector2(ref Vector2 pos) { GUIClip.INTERNAL_CALL_UnclipToWindow_Vector2(ref pos); }
public static Vector2 UnclipToWindow(Vector2 pos) { GUIClip.UnclipToWindow_Vector2(ref pos); return(pos); }
private static void UnclipToWindow_Rect(ref Rect rect) { GUIClip.INTERNAL_CALL_UnclipToWindow_Rect(ref rect); }
public static Vector2 ScreenToGUIPoint(Vector2 screenPoint) { return(GUIClip.Clip(screenPoint) - GUIUtility.s_EditorScreenPointOffset); }
private static void ClipToWindow_Vector2(ref Vector2 absolutePos) { GUIClip.INTERNAL_CALL_ClipToWindow_Vector2(ref absolutePos); }
// Convert a point from screen space to GUI position. public static Vector2 ScreenToGUIPoint(Vector2 screenPoint) { return(GUIClip.ClipToWindow(InternalScreenToWindowPoint(screenPoint))); }
public static Vector2 ClipToWindow(Vector2 absolutePos) { return(GUIClip.ClipToWindow_Vector2(absolutePos)); }