Version: 2023.2

RawFrameDataView.GetSampleMetadataAsSpan

切换到手册
public Span<T> GetSampleMetadataAsSpan (int sampleIndex, int metadataIndex);

参数

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

返回

Span<T> Returns Span<T> of the metadata associated with the sample.

描述

Returns Span<T> representation of sample metadata.

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