Version: 2020.1

RawFrameDataView.GetSampleMetadataAsString

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

参数

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

返回

string Returns string representation of sample metadata value.

描述

Gets sample metadata value as string.

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