GetItemMergedSamplesColumnDataAsFloats(int, int, List<float>)
Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of floats through the outValues param.
Read time 1 minuteLast updated 23 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor
public void GetItemMergedSamplesColumnDataAsFloats(int id, int column, List<float> outValues)
Parameters
Hierarchy item identifier.
Column identifier.
The merged samples for the specified hierarchy item, returned as a list of floats. 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 GetItemMergedSamplesColumnDataAsFloats to obtain float values for individual samples in a merged hierarchy.
The resulting list of floats is written to outValues. This list is resized if necessary.