Class TestResultWindow.TestResultTreeView
Inherited Members
TreeView.CenterRectUsingSingleLineHeight(ref Rect)
TreeView.RenameEnded(TreeView.RenameEndedArgs)
TreeView.CanStartDrag(TreeView.CanStartDragArgs)
TreeView.SetupDragAndDrop(TreeView.SetupDragAndDropArgs)
TreeView.HandleDragAndDrop(TreeView.DragAndDropArgs)
TreeView.RowGUI(TreeView.RowGUIArgs)
Namespace: UnityEngine.Experimental.Rendering
Assembly: UnityEditor.TestTools.Graphics.dll
Syntax
public class TestResultWindow.TestResultTreeView : TreeView
Constructors
TestResultTreeView(TreeViewState)
Declaration
public TestResultTreeView(TreeViewState state)
Parameters
Type | Name | Description |
---|---|---|
TreeViewState | state |
Fields
onSceneSelect
Declaration
public TestResultWindow.TestResultTreeView.OnSceneSelect onSceneSelect
Field Value
Type | Description |
---|---|
TestResultWindow.TestResultTreeView.OnSceneSelect |
Methods
BuildRoot()
Abstract method that is required to be implemented. By default this method should create the full tree of TreeViewItems and return the root.
Declaration
protected override TreeViewItem BuildRoot()
Returns
Type | Description |
---|---|
TreeViewItem | The root of the tree. This item can later be accessed by 'rootItem'. |
Overrides
CanMultiSelect(TreeViewItem)
Override this method to control whether the item can be part of a multiselection.
Declaration
protected override bool CanMultiSelect(TreeViewItem item)
Parameters
Type | Name | Description |
---|---|---|
TreeViewItem | item | Can this item be part of a multiselection. |
Returns
Type | Description |
---|---|
bool |
Overrides
DoubleClickedItem(int)
Override this method to handle double click events on an item.
Declaration
protected override void DoubleClickedItem(int id)
Parameters
Type | Name | Description |
---|---|---|
int | id | ID of TreeViewItem that was double clicked. |
Overrides
SelectionChanged(IList<int>)
Declaration
protected override void SelectionChanged(IList<int> selectedIds)
Parameters
Type | Name | Description |
---|---|---|
IList<int> | selectedIds |