Adds a Beamable-friendly API on top of the existing Unity IMGUI TreeView.
More...
|
float | RowHeight => rowHeight |
|
float | Height => totalHeight |
|
|
override TreeViewItem | BuildRoot () |
| Build the initial rendering structures the TreeView without null-refs More...
|
|
override void | ContextClicked () |
|
override bool | CanMultiSelect (TreeViewItem item) |
|
override void | SelectionChanged (IList< int > selectedIds) |
|
|
SelectionType | SelectionType [get, set] |
|
List< TreeViewItem > | TreeViewItems [get, set] |
| The displayed content items used in the content of the TreeView More...
|
|
TreeViewItem | TreeViewItemRoot [get, set] |
| The non-displayed root content item of the TreeView More...
|
|
List< TreeViewItem > | MainSelectionBranch [get] |
|
Adds a Beamable-friendly API on top of the existing Unity IMGUI TreeView.
◆ BuildRoot()
override TreeViewItem Beamable.Editor.Content.Components.TreeViewIMGUI.BuildRoot |
( |
| ) |
|
|
inlineprotected |
Build the initial rendering structures the TreeView without null-refs
◆ ClearSelection()
void Beamable.Editor.Content.Components.TreeViewIMGUI.ClearSelection |
( |
| ) |
|
|
inline |
Set the selection to null and refresh the layout
◆ GetCalculatedHeight()
float Beamable.Editor.Content.Components.TreeViewIMGUI.GetCalculatedHeight |
( |
| ) |
|
|
inline |
Here is the dynamically calculated height of the TreeViewIMGUI. THis works great. May be redundant to existing public api.
- Returns
◆ SetSelectionSafe()
void Beamable.Editor.Content.Components.TreeViewIMGUI.SetSelectionSafe |
( |
List< int > |
selectedIds | ) |
|
|
inline |
Set the selection without invok
◆ TreeViewItemRoot
TreeViewItem Beamable.Editor.Content.Components.TreeViewIMGUI.TreeViewItemRoot |
|
getset |
The non-displayed root content item of the TreeView
◆ TreeViewItems
List<TreeViewItem> Beamable.Editor.Content.Components.TreeViewIMGUI.TreeViewItems |
|
getset |
The displayed content items used in the content of the TreeView
◆ OnContextClicked
Action Beamable.Editor.Content.Components.TreeViewIMGUI.OnContextClicked |
◆ OnSelectedBranchChanged
Action<IList<TreeViewItem> > Beamable.Editor.Content.Components.TreeViewIMGUI.OnSelectedBranchChanged |
Invoked when the single-selection or multiselection changes. Conains full list of item and parents.
◆ OnSelectionChanged
Action<IList<TreeViewItem> > Beamable.Editor.Content.Components.TreeViewIMGUI.OnSelectionChanged |
Invoked when the single-selection or multiselection changes
The documentation for this class was generated from the following file:
- client/Packages/com.beamable/Editor/UI/Content/Components/ContentTypeViewVisualElement/TreeViewIMGUI.cs