Namespace: | Sirenix.Reflection.Editor |
Assembly: | Sirenix.Reflection.Editor |
public static class GUI_Internals
public static Material BlendMaterial { get; }
public static Material BlitMaterial { get; }
public static int ButtonHash { get; }
public static Material RoundedRectMaterial { get; }
public static Material RoundedRectWithColorPerBorderMaterial { get; }
public static IEnumerable<ScrollViewState_Internal> ScrollViewStates { get; }
public static bool Button(Rect position, int id, GUIContent label, GUIStyle style)
UnityEngine.Rect | position | |
System.Int32 | id | |
UnityEngine.GUIContent | label | |
UnityEngine.GUIStyle | style |
System.Boolean |
public static bool Button(Rect position, FocusType focusType, GUIContent label, GUIStyle style, out int id)
UnityEngine.Rect | position | |
UnityEngine.FocusType | focusType | |
UnityEngine.GUIContent | label | |
UnityEngine.GUIStyle | style | |
System.Int32 | id |
System.Boolean |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, float borderWidths, float borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | color | |
System.Single | borderWidths | |
System.Single | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, float borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | color | |
System.Single | borderWidths | |
UnityEngine.Vector4 | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color leftColor, Color topColor, Color rightColor, Color bottomColor, float borderWidths, float borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | leftColor | |
UnityEngine.Color | topColor | |
UnityEngine.Color | rightColor | |
UnityEngine.Color | bottomColor | |
System.Single | borderWidths | |
System.Single | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color leftColor, Color topColor, Color rightColor, Color bottomColor, float borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | leftColor | |
UnityEngine.Color | topColor | |
UnityEngine.Color | rightColor | |
UnityEngine.Color | bottomColor | |
System.Single | borderWidths | |
UnityEngine.Vector4 | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color leftColor, Color topColor, Color rightColor, Color bottomColor, Vector4 borderWidths, float borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | leftColor | |
UnityEngine.Color | topColor | |
UnityEngine.Color | rightColor | |
UnityEngine.Color | bottomColor | |
UnityEngine.Vector4 | borderWidths | |
System.Single | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color leftColor, Color topColor, Color rightColor, Color bottomColor, Vector4 borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | leftColor | |
UnityEngine.Color | topColor | |
UnityEngine.Color | rightColor | |
UnityEngine.Color | bottomColor | |
UnityEngine.Vector4 | borderWidths | |
UnityEngine.Vector4 | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, Vector4 borderWidths, float borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | color | |
UnityEngine.Vector4 | borderWidths | |
System.Single | borderRadius | |
System.Boolean | drawSmoothCorners |
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, Vector4 borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
UnityEngine.Rect | rect | |
UnityEngine.Rect | uvRect | |
UnityEngine.Texture | texture | |
UnityEngine.Material | material | |
UnityEngine.Color | color | |
UnityEngine.Vector4 | borderWidths | |
UnityEngine.Vector4 | borderRadius | |
System.Boolean | drawSmoothCorners |