Version: 2020.3

HierarchyFrameDataView.GetItemMergedSamplesColumnDataAsFloats

切换到手册
public void GetItemMergedSamplesColumnDataAsFloats (int id, int column, List<float> outValues);

参数

id 层级视图项标识符。
column 列标识符。
outValues 特定层级视图项的合并样本,作为浮点值列表返回。此列表在需要时会调整大小。

描述

获取特定层级视图项的合并样本。合并样本通过 outValues 参数,作为浮点值列表返回。

When HierarchyFrameDataView uses ViewMode.MergeSamplesWithTheSameName mode, samples with the same name, and at the same hierarchy level, are merged and represented by a single item. In this case, 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.

另请参阅:GetItemColumnDataGetItemMergedSamplesCountGetItemMergedSamplesColumnData