Version: 2022.1

HierarchyFrameDataView.GetItemMergedSamplesMetadataAsFloat

切换到手册
public float GetItemMergedSamplesMetadataAsFloat (int id, int sampleIndex, int metadataIndex);

参数

id 层级视图项标识符。
sampleIndex 合并样本索引。
metadataIndex 元数据索引。

返回

float Returns value of the metadata as float.

描述

返回层级视图项元数据值的浮点值表示形式。

Throws:
System.ArgumentException if id is invalid. System.IndexOutOfRangeException if sampleIndex is not in the range from 0 to GetItemMergedSamplesCount. System.IndexOutOfRangeException if medataIndex is not in the range from 0 to GetItemMergedSamplesMetadataCount.

See Also: GetItemMergedSamplesCount, GetItemMergedSamplesMetadataCount, GetItemMetadataAsFloat.