Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetItemMergedSamplesInstanceID(int, List<int>)

Retrieves the instanceID of the merged samples corresponding to a hierarchy item.
Read time 1 minuteLast updated 12 days ago

Definition

Warning
Removed. Deprecated, use GetItemMergedSamplesEntityId instead. This method will be removed in a future version.
public void GetItemMergedSamplesInstanceID(int id, List<int> outInstanceIds)

Parameters

id

Hierarchy item identifier.

outInstanceIds

List filled with InstanceID 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 outInstanceIds list which is resized if necessary.