Namespace: | Sirenix.OdinInspector.Editor.Internal |
Assembly: | Sirenix.OdinInspector.Editor |
public static class GUITextureDrawingUtil
public static Material Material { get; }
public static void DrawTexture(Rect rect, Texture2D texture, ScaleMode scaleMode, Color color, Color hueColor, float greyScale = 1F)
UnityEngine.Rect | rect | |
UnityEngine.Texture2D | texture | |
UnityEngine.ScaleMode | scaleMode | |
UnityEngine.Color | color | |
UnityEngine.Color | hueColor | |
System.Single | greyScale |
public static void SetProperties(Color guiColor, Color hueColor, Vector4 uv, float greyScale)
UnityEngine.Color | guiColor | |
UnityEngine.Color | hueColor | |
UnityEngine.Vector4 | uv | |
System.Single | greyScale |