Version: 2021.3

HierarchyFrameDataView.GetItemMergedSamplesColumnData

切换到手册
public void GetItemMergedSamplesColumnData (int id, int column, List<string> outStrings);

参数

id 层级视图项标识符。
column 列标识符。
outStrings 使用合并样本的值填充的列表(作为方法调用的结果)。

描述

用于获取层级视图项的合并样本的值。

When HierarchyFrameDataView uses ViewMode.MergeSamplesWithTheSameName mode, multiple samples with the same name at the same hierarchy level are merged together and are represented by a single item. Respectively GetItemColumnData in this case represents an aggregated value.
GetItemMergedSamplesColumnData allows to obtain values of individual samples in merged hierarchy.
The result is written to outStrings list which is resized if necessary.

另请参阅:GetItemColumnDataGetItemMergedSamplesCount

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961