Version: 2022.1
LanguageEnglish
  • C#

HierarchyFrameDataView.GetItemMergedSamplesColumnDataAsFloats

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public void GetItemMergedSamplesColumnDataAsFloats(int id, int column, List<float> outValues);

Parameters

id Hierarchy item identifier.
column Column identifier.
outValues The merged samples for the specified hierarchy item, returned as a list of floats. This list is resized if necessary.

Description

Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of floats 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 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.

See Also: GetItemColumnData, GetItemMergedSamplesCount, GetItemMergedSamplesColumnData.

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