EditorIcon

Icon for using in editor GUI.

namespace Sirenix.Utilities.Editor
{
public abstract class EditorIcon
}

Requirements

Namespace: Sirenix.Utilities.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

Properties

Return Type Definition Description
Texture Active Gets the icon's active texture.
GUIContent ActiveGUIContent Gets a GUIContent object with the active texture.
Texture Highlighted Gets the icon's highlighted texture.
GUIContent HighlightedGUIContent Gets a GUIContent object with the highlighted texture.
Texture Inactive Gets the icon's inactive texture.
GUIContent InactiveGUIContent Gets a GUIContent object with the inactive texture.
Texture2D Raw Gets the raw input icon texture.

Methods

Return Type Definition Description
void Draw(Rect) Draws the icon in a square rect, with a custom shader that makes the icon look better when down-scaled. This also handles mouseover effects, and linier color spacing.
void Draw(Rect, float) Draws the icon in a square rect, with a custom shader that makes the icon look better when down-scaled. This also handles mouseover effects, and linier color spacing.
void Draw(Rect, Texture) Draws the icon in a square rect, with a custom shader that makes the icon look better when down-scaled. This also handles mouseover effects, and linier color spacing.