Version 3.3.1.2

GUITextureDrawingUtil class

Namespace: Sirenix.OdinInspector.Editor.Internal
Assembly: Sirenix.OdinInspector.Editor
public static class GUITextureDrawingUtil
Inheritance
  • System.Object
  • GUITextureDrawingUtil

Properties

Material
public static Material Material { get; }

Methods

DrawTexture(Rect, Texture2D, ScaleMode, Color, Color, Single)
public static void DrawTexture(Rect rect, Texture2D texture, ScaleMode scaleMode, Color color, Color hueColor, float greyScale = 1F)
Parameters
UnityEngine.Rect rect

UnityEngine.Texture2D texture

UnityEngine.ScaleMode scaleMode

UnityEngine.Color color

UnityEngine.Color hueColor

System.Single greyScale

SetProperties(Color, Color, Vector4, Single)
public static void SetProperties(Color guiColor, Color hueColor, Vector4 uv, float greyScale)
Parameters
UnityEngine.Color guiColor

UnityEngine.Color hueColor

UnityEngine.Vector4 uv

System.Single greyScale