GetItemChildren(int, List<int>)
Retrieves a list of hierarchy item children.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public void GetItemChildren(int id, List<int> outChildren)
Parameters
Remarks
The result is written to outChildren list which is resized if necessary. The list contains identifiers of item children in order defined by sorting parameters. Identifier defines a specific tree view item in the current frame hierarchy. Different frames have different identifiers for the tree items.
GetItemChildren call builds next hierarchy level making child data available for retrieval.
Additional Resources: TreeViewItem.children.