Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetItemMarkerIDPath(int, List<int>)

Use to retrieve a list of a marker identifiers of all hierarchy item parents.
Read time 1 minuteLast updated 13 days ago

Definition

public void GetItemMarkerIDPath(int id, List<int> outFullIdPath)

Parameters

id

Hierarchy item identifier.

outFullIdPath

List filled with marker identifiers of all ancestors of the item as a result of a method call.

Remarks

The result is written to outFullIdPath list which is resized if necessary. The list contains marker identifiers of item parents in top-down order. When HierarchyFrameDataView.ViewModes.InvertHierarchy is active, the sample stack is inverted so that each item's children represents the parent samples in the captured data.