Version 3.3.0.1

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; }
RoundedRectMaterial
public static Material RoundedRectMaterial { get; }
RoundedRectWithColorPerBorderMaterial
public static Material RoundedRectWithColorPerBorderMaterial { get; }
ScrollViewStates
public static IEnumerable<ScrollViewState_Internal> ScrollViewStates { get; }

Methods

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