C# Класс UnityEditor.MemoryTreeList

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
m_MemorySelection MemoryElementSelection

Защищенные свойства (Protected)

Свойство Тип Описание
m_ControlID int
m_DetailView MemoryTreeList
m_EditorWindow EditorWindow
m_Root MemoryElement
m_ScrollPosition Vector2
m_SelectionOffset float
m_Splitter SplitterState
m_VisibleHeight float

Открытые методы

Метод Описание
GetRoot ( ) : MemoryElement
MemoryTreeList ( EditorWindow editorWindow, MemoryTreeList detailview ) : System
OnGUI ( ) : void
SetRoot ( MemoryElement root ) : void

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

DrawBackground() защищенный статический Метод

protected static DrawBackground ( int row, bool selected ) : void
row int
selected bool
Результат void

DrawData() защищенный Метод

protected DrawData ( Rect rect, MemoryElement memoryElement, int indent, int row, bool selected ) : void
rect UnityEngine.Rect
memoryElement MemoryElement
indent int
row int
selected bool
Результат void

DrawHeader() защищенный Метод

protected DrawHeader ( ) : void
Результат void

DrawItem() защищенный Метод

protected DrawItem ( MemoryElement memoryElement, int &row, int indent ) : void
memoryElement MemoryElement
row int
indent int
Результат void

DrawRecursiveData() защищенный Метод

protected DrawRecursiveData ( MemoryElement element, int &row, int indent ) : void
element MemoryElement
row int
indent int
Результат void

EnsureVisible() защищенный Метод

protected EnsureVisible ( ) : void
Результат void

GenerateRect() защищенный статический Метод

protected static GenerateRect ( int row ) : Rect
row int
Результат UnityEngine.Rect

GetRoot() публичный Метод

public GetRoot ( ) : MemoryElement
Результат MemoryElement

HandleKeyboard() защищенный Метод

protected HandleKeyboard ( ) : void
Результат void

MemoryTreeList() публичный Метод

public MemoryTreeList ( EditorWindow editorWindow, MemoryTreeList detailview ) : System
editorWindow EditorWindow
detailview MemoryTreeList
Результат System

OnGUI() публичный Метод

public OnGUI ( ) : void
Результат void

RowClicked() защищенный Метод

protected RowClicked ( Event evt, MemoryElement memoryElement ) : void
evt UnityEngine.Event
memoryElement MemoryElement
Результат void

SetRoot() публичный Метод

public SetRoot ( MemoryElement root ) : void
root MemoryElement
Результат void

SetupSplitter() защищенный Метод

protected SetupSplitter ( ) : void
Результат void

Описание свойств

m_ControlID защищенное свойство

protected int m_ControlID
Результат int

m_DetailView защищенное свойство

protected MemoryTreeList,UnityEditor m_DetailView
Результат MemoryTreeList

m_EditorWindow защищенное свойство

protected EditorWindow m_EditorWindow
Результат EditorWindow

m_MemorySelection публичное свойство

public MemoryElementSelection,UnityEditor m_MemorySelection
Результат MemoryElementSelection

m_Root защищенное свойство

protected MemoryElement,UnityEditor m_Root
Результат MemoryElement

m_ScrollPosition защищенное свойство

protected Vector2 m_ScrollPosition
Результат Vector2

m_SelectionOffset защищенное свойство

protected float m_SelectionOffset
Результат float

m_Splitter защищенное свойство

protected SplitterState,UnityEditor m_Splitter
Результат SplitterState

m_VisibleHeight защищенное свойство

protected float m_VisibleHeight
Результат float