文档

Unity Engine

Unity Engine

GetItemMergedSamplesColumnDataAsDoubles(int, int, List<double>)

Retrieves the merged samples for a specific hierarchy item. Merged samples are returned as a list of doubles through the outValues param.
阅读时间1 分钟最后更新于 9 天前

Definition

public void GetItemMergedSamplesColumnDataAsDoubles(int id, int column, List<double> outValues)

Parameters

id

Hierarchy item identifier.

column

Column identifier.

outValues

The merged samples for the specified hierarchy item, returned as a list of doubles. This list is resized if necessary.

Remarks

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