C# Class UnityEditor.MemoryTreeList

Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
m_MemorySelection MemoryElementSelection

Protected Properties

Property Type Description
m_ControlID int
m_DetailView MemoryTreeList
m_EditorWindow EditorWindow
m_Root MemoryElement
m_ScrollPosition Vector2
m_SelectionOffset float
m_Splitter SplitterState
m_VisibleHeight float

Public Methods

Method Description
GetRoot ( ) : MemoryElement
MemoryTreeList ( EditorWindow editorWindow, MemoryTreeList detailview ) : System
OnGUI ( ) : void
SetRoot ( MemoryElement root ) : void

Protected Methods

Method Description
DrawBackground ( int row, bool selected ) : void
DrawData ( Rect rect, MemoryElement memoryElement, int indent, int row, bool selected ) : void
DrawHeader ( ) : void
DrawItem ( MemoryElement memoryElement, int &row, int indent ) : void
DrawRecursiveData ( MemoryElement element, int &row, int indent ) : void
EnsureVisible ( ) : void
GenerateRect ( int row ) : Rect
HandleKeyboard ( ) : void
RowClicked ( Event evt, MemoryElement memoryElement ) : void
SetupSplitter ( ) : void

Private Methods

Method Description
Clamp ( float value, float min, float max ) : float
FindNamedChild ( string name, List list, MemoryElement &outChild ) : bool
RecursiveFindSelected ( MemoryElement element, int &row ) : void
RestoreViewState ( MemoryElement oldRoot, MemoryElement newRoot ) : void

Method Details

DrawBackground() protected static method

protected static DrawBackground ( int row, bool selected ) : void
row int
selected bool
return void

DrawData() protected method

protected DrawData ( Rect rect, MemoryElement memoryElement, int indent, int row, bool selected ) : void
rect UnityEngine.Rect
memoryElement MemoryElement
indent int
row int
selected bool
return void

DrawHeader() protected method

protected DrawHeader ( ) : void
return void

DrawItem() protected method

protected DrawItem ( MemoryElement memoryElement, int &row, int indent ) : void
memoryElement MemoryElement
row int
indent int
return void

DrawRecursiveData() protected method

protected DrawRecursiveData ( MemoryElement element, int &row, int indent ) : void
element MemoryElement
row int
indent int
return void

EnsureVisible() protected method

protected EnsureVisible ( ) : void
return void

GenerateRect() protected static method

protected static GenerateRect ( int row ) : Rect
row int
return UnityEngine.Rect

GetRoot() public method

public GetRoot ( ) : MemoryElement
return MemoryElement

HandleKeyboard() protected method

protected HandleKeyboard ( ) : void
return void

MemoryTreeList() public method

public MemoryTreeList ( EditorWindow editorWindow, MemoryTreeList detailview ) : System
editorWindow EditorWindow
detailview MemoryTreeList
return System

OnGUI() public method

public OnGUI ( ) : void
return void

RowClicked() protected method

protected RowClicked ( Event evt, MemoryElement memoryElement ) : void
evt UnityEngine.Event
memoryElement MemoryElement
return void

SetRoot() public method

public SetRoot ( MemoryElement root ) : void
root MemoryElement
return void

SetupSplitter() protected method

protected SetupSplitter ( ) : void
return void

Property Details

m_ControlID protected property

protected int m_ControlID
return int

m_DetailView protected property

protected MemoryTreeList,UnityEditor m_DetailView
return MemoryTreeList

m_EditorWindow protected property

protected EditorWindow m_EditorWindow
return EditorWindow

m_MemorySelection public property

public MemoryElementSelection,UnityEditor m_MemorySelection
return MemoryElementSelection

m_Root protected property

protected MemoryElement,UnityEditor m_Root
return MemoryElement

m_ScrollPosition protected property

protected Vector2 m_ScrollPosition
return Vector2

m_SelectionOffset protected property

protected float m_SelectionOffset
return float

m_Splitter protected property

protected SplitterState,UnityEditor m_Splitter
return SplitterState

m_VisibleHeight protected property

protected float m_VisibleHeight
return float