Version: 2023.1

HierarchyFrameDataView.GetItemMergedSamplesColumnDataAsDoubles

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

参数

id 层级视图项标识符。
column 列标识符。
outValues The merged samples for the specified hierarchy item, returned as a list of doubles. This list is resized if necessary.

描述

Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of doubles through the outValues param.

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 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.

另请参阅:GetItemColumnDataGetItemMergedSamplesCountGetItemMergedSamplesColumnData

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