C# Class VfxToolBox.ShurikenViewer.EffectTreeView

Inheritance: TreeView
Exibir arquivo Open project: rngtm/Unity-VFXToolBox Class Usage Examples

Private Properties

Property Type Description
AddChildrenRecursive void
CreateTreeViewItem TreeViewItem
DrawRowColumn void

Public Methods

Method Description
EffectTreeView ( TreeViewState state ) : UnityEditor.IMGUI.Controls
Setup ( Array baseElements ) : void

TreeViewセットアップ

Protected Methods

Method Description
BuildRoot ( ) : TreeViewItem
RowGUI ( RowGUIArgs args ) : void
SelectionChanged ( IList selectedIds ) : void

選択が変化した時に呼ばれる

Private Methods

Method Description
AddChildrenRecursive ( VfxToolBox.ShurikenViewer.EffectTreeElement model, TreeViewItem item ) : void

モデルとItemから再帰的に子Itemを作成・追加する

CreateTreeViewItem ( VfxToolBox.ShurikenViewer.EffectTreeElement model ) : TreeViewItem

ExampleTreeElementからTreeViewItemを作成する

DrawRowColumn ( RowGUIArgs args, Rect rect, int columnIndex ) : void

列の行を描画

Method Details

BuildRoot() protected method

protected BuildRoot ( ) : TreeViewItem
return TreeViewItem

EffectTreeView() public method

public EffectTreeView ( TreeViewState state ) : UnityEditor.IMGUI.Controls
state TreeViewState
return UnityEditor.IMGUI.Controls

RowGUI() protected method

protected RowGUI ( RowGUIArgs args ) : void
args RowGUIArgs
return void

SelectionChanged() protected method

選択が変化した時に呼ばれる
protected SelectionChanged ( IList selectedIds ) : void
selectedIds IList
return void

Setup() public method

TreeViewセットアップ
public Setup ( Array baseElements ) : void
baseElements Array
return void