Version 3.3.1.2

GUI_Internals class

Namespace: Sirenix.Reflection.Editor
Assembly: Sirenix.Reflection.Editor
public static class GUI_Internals
Inheritance
  • System.Object
  • GUI_Internals

Properties

BlendMaterial
public static Material BlendMaterial { get; }
BlitMaterial
public static Material BlitMaterial { get; }
ButtonHash
public static int ButtonHash { get; }
RoundedRectMaterial
public static Material RoundedRectMaterial { get; }
RoundedRectWithColorPerBorderMaterial
public static Material RoundedRectWithColorPerBorderMaterial { get; }
ScrollViewStates
public static IEnumerable<ScrollViewState_Internal> ScrollViewStates { get; }

Methods

Button(Rect, Int32, GUIContent, GUIStyle)
public static bool Button(Rect position, int id, GUIContent label, GUIStyle style)
Parameters
UnityEngine.Rect position

System.Int32 id

UnityEngine.GUIContent label

UnityEngine.GUIStyle style

Returns
System.Boolean

Button(Rect, FocusType, GUIContent, GUIStyle, out Int32)
public static bool Button(Rect position, FocusType focusType, GUIContent label, GUIStyle style, out int id)
Parameters
UnityEngine.Rect position

UnityEngine.FocusType focusType

UnityEngine.GUIContent label

UnityEngine.GUIStyle style

System.Int32 id

Returns
System.Boolean

DrawTexture(Rect, Rect, Texture, Material, Color, Single, Single, Boolean)
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, float borderWidths, float borderRadius, bool drawSmoothCorners)
Parameters
UnityEngine.Rect rect

UnityEngine.Rect uvRect

UnityEngine.Texture texture

UnityEngine.Material material

UnityEngine.Color color

System.Single borderWidths

System.Single borderRadius

System.Boolean drawSmoothCorners

DrawTexture(Rect, Rect, Texture, Material, Color, Single, Vector4, Boolean)
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, float borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
Parameters
UnityEngine.Rect rect

UnityEngine.Rect uvRect

UnityEngine.Texture texture

UnityEngine.Material material

UnityEngine.Color color

System.Single borderWidths

UnityEngine.Vector4 borderRadius

System.Boolean drawSmoothCorners

DrawTexture(Rect, Rect, Texture, Material, Color, Color, Color, Color, Single, Single, Boolean)
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)
Parameters
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

DrawTexture(Rect, Rect, Texture, Material, Color, Color, Color, Color, Single, Vector4, Boolean)
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)
Parameters
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

DrawTexture(Rect, Rect, Texture, Material, Color, Color, Color, Color, Vector4, Single, Boolean)
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)
Parameters
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

DrawTexture(Rect, Rect, Texture, Material, Color, Color, Color, Color, Vector4, Vector4, Boolean)
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)
Parameters
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

DrawTexture(Rect, Rect, Texture, Material, Color, Vector4, Single, Boolean)
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, Vector4 borderWidths, float borderRadius, bool drawSmoothCorners)
Parameters
UnityEngine.Rect rect

UnityEngine.Rect uvRect

UnityEngine.Texture texture

UnityEngine.Material material

UnityEngine.Color color

UnityEngine.Vector4 borderWidths

System.Single borderRadius

System.Boolean drawSmoothCorners

DrawTexture(Rect, Rect, Texture, Material, Color, Vector4, Vector4, Boolean)
public static void DrawTexture(Rect rect, Rect uvRect, Texture texture, Material material, Color color, Vector4 borderWidths, Vector4 borderRadius, bool drawSmoothCorners)
Parameters
UnityEngine.Rect rect

UnityEngine.Rect uvRect

UnityEngine.Texture texture

UnityEngine.Material material

UnityEngine.Color color

UnityEngine.Vector4 borderWidths

UnityEngine.Vector4 borderRadius

System.Boolean drawSmoothCorners