Version: 2019.2
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

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

Parameters

idHierarchy item identifier.
columnColumn identifier.
outValuesThe 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 GetItemMergedSamplesColumnData 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.