C# Class UnityEditor.AudioMixerGroupSelector.GroupTreeViewGUI

Inheritance: UnityEditor.TreeViewGUI
显示文件 Open project: randomize/VimConfig Class Usage Examples

Public Methods

Method Description
CalculateRowRects ( ) : void
GetFirstAndLastRowVisible ( List rows, float topPixel, float heightInPixels, int &firstRowVisible, int &lastRowVisible ) : void
GetHeightOfLastRow ( ) : float
GetNumRowsOnPageUpDown ( TreeViewItem fromItem, bool pageUp, float heightOfTreeView ) : int
GetTopPixelOfRow ( int row, List rows ) : float
GetTotalSize ( List rows ) : Vector2
GroupTreeViewGUI ( UnityEditor.TreeView treeView ) : mscorlib
OnRowGUI ( TreeViewItem item, int row, float rowWidth, bool selected, bool focused ) : Rect

Protected Methods

Method Description
GetIconForNode ( TreeViewItem item ) : Texture
RenameEnded ( ) : void
SyncFakeItem ( ) : void

Private Methods

Method Description
IsController ( TreeViewItem item ) : bool

Method Details

CalculateRowRects() public method

public CalculateRowRects ( ) : void
return void

GetFirstAndLastRowVisible() public method

public GetFirstAndLastRowVisible ( List rows, float topPixel, float heightInPixels, int &firstRowVisible, int &lastRowVisible ) : void
rows List
topPixel float
heightInPixels float
firstRowVisible int
lastRowVisible int
return void

GetHeightOfLastRow() public method

public GetHeightOfLastRow ( ) : float
return float

GetIconForNode() protected method

protected GetIconForNode ( TreeViewItem item ) : Texture
item TreeViewItem
return UnityEngine.Texture

GetNumRowsOnPageUpDown() public method

public GetNumRowsOnPageUpDown ( TreeViewItem fromItem, bool pageUp, float heightOfTreeView ) : int
fromItem TreeViewItem
pageUp bool
heightOfTreeView float
return int

GetTopPixelOfRow() public method

public GetTopPixelOfRow ( int row, List rows ) : float
row int
rows List
return float

GetTotalSize() public method

public GetTotalSize ( List rows ) : Vector2
rows List
return Vector2

GroupTreeViewGUI() public method

public GroupTreeViewGUI ( UnityEditor.TreeView treeView ) : mscorlib
treeView UnityEditor.TreeView
return mscorlib

OnRowGUI() public method

public OnRowGUI ( TreeViewItem item, int row, float rowWidth, bool selected, bool focused ) : Rect
item TreeViewItem
row int
rowWidth float
selected bool
focused bool
return UnityEngine.Rect

RenameEnded() protected method

protected RenameEnded ( ) : void
return void

SyncFakeItem() protected method

protected SyncFakeItem ( ) : void
return void