HierarchyFrameDataView.GetItemMergedSamplesInstanceID

Switch to Manual
public void GetItemMergedSamplesInstanceID (int id, List<int> outInstanceIds);

Parameters

idHierarchy item identifier.
outInstanceIdsList filled with InstanceID values of merged samples as a result of a method call.

Description

Retrieves the instanceID of the merged samples corresponding to a hierarchy item.

When HierarchyFrameDataView uses ViewMode.MergeSamplesWithTheSameName mode, multiple samples with the same name at the same hierarchy level are merged together and are represented by a single item. Respectively GetItemColumnData in this case represents an aggregated value.
GetItemMergedSamplesColumnData allows to obtain values of individual samples in merged hierarchy.
The result is written to outInstanceIds list which is resized if neccesary.

See Also: GetItemInstanceID.

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