기술 자료

Unity Engine

Unity Engine

GetItemMergedSamplesColumnData(int, int, List<string>)

Use to retrieve a values of merged samples of a hierarchy item.
읽는 시간 1분최근 업데이트: 하루 전

Definition

public void GetItemMergedSamplesColumnData(int id, int column, List<string> outStrings)

Parameters

id

Hierarchy item identifier.

column

Column identifier.

outStrings

List filled with values of merged samples as a result of a method call.

Remarks

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