GetItemMergedSamplesColumnDataAsDoubles(int, int, List<double>)
Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of doubles through the outValues param.
Read time 1 minuteLast updated 20 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public void GetItemMergedSamplesColumnDataAsDoubles(int id, int column, List<double> outValues)
Parameters
Hierarchy item identifier.
Column identifier.
The merged samples for the specified hierarchy item, returned as a list of doubles. This list is resized if necessary.
Remarks
When MergeSamplesWithTheSameName is active, samples with the same name, and at the same hierarchy level, are merged and represented by a single item. In this case, HierarchyFrameDataView.GetItemColumnData represents an aggregated value.
Use GetItemMergedSamplesColumnDataAsDoubles to obtain double values for individual samples in a merged hierarchy.
The resulting list of doubles is written to outValues. This list is resized if necessary.