ドキュメント

Unity Engine

Unity Engine

GetSampleMetadataAsDouble(int, int)

Gets sample metadata value as double.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public double GetSampleMetadataAsDouble(int sampleIndex, int metadataIndex)

Parameters

sampleIndex

Index of the Profiler sample.

metadataIndex

Metadata index.

Returns

Type

Description

doubleReturns double representation of sample metadata value.

Remarks

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