Version: 2022.2

RawFrameDataView.GetSampleMetadataAsInt

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

参数

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

返回

int Returns integer representation of sample metadata value.

描述

Gets sample metadata value as integer.

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