AdvancedDropdownItemclass

A tree node for use with `Editor.AdvancedDropdownWidget`. Items with children are categories; items without children are selectable leaves.

objectAdvancedDropdownItem
Namespace
Editor
Assembly
Sandbox.Tools
Declaration
public class Editor.AdvancedDropdownItem

Constructors2

Showing 2 constructors

Methods3

Showing 3 methods

public void Clear()PUBLIC

Remove all children.

Returns:void

Properties8

Showing 8 properties

public System.Action`2<Sandbox.Rect,float> Editor.AdvancedDropdownItem.PaintIcon { get; set; }PUBLICGETSET

Optional custom icon painting. Receives the icon rect and current opacity.

Returns:Action<Rect,float>

On this page