API ReferenceEditor
public static abstract sealed class Editor.Theme
Related Guides
Broader workflow and conceptual references connected to this API.
Methods
Showing 4 methods
public static void DrawButton(Sandbox.Rect LocalRect, string text = null, string Icon = null, bool Enabled = True, System.Nullable`1<Color> Tint = null)
Parameters
text: Default: nullIcon: Default: nullEnabled: Default: TrueTint: Default: null
public static void DrawDropdown(Sandbox.Rect rect, string text, string icon, bool open, bool disabled = False)
Draw a dropdown control with a text label and an icon. Has a up/down chevron icon to indicate the dropdown state.
Parameters
disabled: Default: False
public static void DrawFilename(Sandbox.Rect rect, string filename, Sandbox.TextFlag flags, Color color)
public static Color GetTint(Sandbox.EditorTint tint)
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Editor |
| Type | class |
| Assembly | Sandbox.Tools |
| Doc ID | T:Editor.Theme |