Beamable SDK
Public Member Functions | Protected Member Functions | Properties | Events | List of all members
Beamable.Editor.Content.Components.TreeViewIMGUI Class Reference

Adds a Beamable-friendly API on top of the existing Unity IMGUI TreeView. More...

Inheritance diagram for Beamable.Editor.Content.Components.TreeViewIMGUI:
Inheritance graph
[legend]
Collaboration diagram for Beamable.Editor.Content.Components.TreeViewIMGUI:
Collaboration graph
[legend]

Public Member Functions

float GetCalculatedHeight ()
 Here is the dynamically calculated height of the TreeViewIMGUI. THis works great. May be redundant to existing public api. More...
 
 TreeViewIMGUI (TreeViewState treeViewState)
 
void ClearSelection ()
 Set the selection to null and refresh the layout
 
void SetSelectionSafe (List< int > selectedIds)
 Set the selection without invok
 

Protected Member Functions

override TreeViewItem BuildRoot ()
 Build the initial rendering structures the TreeView without null-refs
 
override void ContextClicked ()
 
override bool CanMultiSelect (TreeViewItem item)
 
override void SelectionChanged (IList< int > selectedIds)
 

Properties

SelectionType SelectionType [getset]
 
float RowHeight [getset]
 
float Height [get]
 
List< TreeViewItem > TreeViewItems [getset]
 The displayed content items used in the content of the TreeView
 
TreeViewItem TreeViewItemRoot [getset]
 The non-displayed root content item of the TreeView
 
List< TreeViewItem > MainSelectionBranch [get]
 

Events

Action< IList< TreeViewItem > > OnSelectionChanged
 Invoked when the single-selection or multiselection changes
 
Action< IList< TreeViewItem > > OnSelectedBranchChanged
 Invoked when the single-selection or multiselection changes. Conains full list of item and parents.
 
Action OnContextClicked
 Invoked when the TreeViewIMGUI background is clicked.
 

Detailed Description

Adds a Beamable-friendly API on top of the existing Unity IMGUI TreeView.

Member Function Documentation

◆ 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

The documentation for this class was generated from the following file: