Version: 2021.2

RawFrameDataView.GetSampleMetadataAsDouble

切换到手册
public double GetSampleMetadataAsDouble (int sampleIndex, int metadataIndex);

参数

sampleIndex Index of the Profiler sample.
metadataIndex 元数据索引。

返回

double Returns double representation of sample metadata value.

描述

Gets sample metadata value as double.

Use to obtain additional data associated with the sample. metadataIndex must be between 0 and GetSampleMetadataCount.