Namespace: | Sirenix.OdinInspector.Editor |
Assembly: | Sirenix.Utilities.Editor |
public static class SdfIcons
public static SdfIcon[] AllIcons
public static Material Material { get; }
public static Texture2D SdfTexture { get; }
public static Texture2D CreateTransparentIconTexture(SdfIcon icon, Color color, Color bgColor, Color clearColor, int width, int height, int padding)
SdfIcon | icon | |
UnityEngine.Color | color | |
UnityEngine.Color | bgColor | |
UnityEngine.Color | clearColor | |
System.Int32 | width | |
System.Int32 | height | |
System.Int32 | padding |
UnityEngine.Texture2D |
public static Texture2D CreateTransparentIconTexture(SdfIconType iconType, Color color, int width, int height, int padding)
SdfIconType | iconType | |
UnityEngine.Color | color | |
System.Int32 | width | |
System.Int32 | height | |
System.Int32 | padding |
UnityEngine.Texture2D |
public static void DrawIcon(Rect rect, SdfIcon icon, Color color)
UnityEngine.Rect | rect | |
SdfIcon | icon | |
UnityEngine.Color | color |
public static void DrawIcon(Rect rect, SdfIcon icon, Color color, Color bgColor)
UnityEngine.Rect | rect | |
SdfIcon | icon | |
UnityEngine.Color | color | |
UnityEngine.Color | bgColor |
public static void DrawIcon(Rect rect, SdfIconType icon)
UnityEngine.Rect | rect | |
SdfIconType | icon |
public static void DrawIcon(Rect rect, SdfIconType icon, Color color)
UnityEngine.Rect | rect | |
SdfIconType | icon | |
UnityEngine.Color | color |
public static void DrawIcon(Rect rect, SdfIconType icon, Color color, Color bgColor)
UnityEngine.Rect | rect | |
SdfIconType | icon | |
UnityEngine.Color | color | |
UnityEngine.Color | bgColor |
public static void SetBgColor(Color bgColor)
UnityEngine.Color | bgColor |
public static void SetColor(Color color)
UnityEngine.Color | color |
public static void SetEdgeOffset(float edgeOffset)
System.Single | edgeOffset |
public static void SetUv(Vector4 uv)
UnityEngine.Vector4 | uv |