Documentation

Unity Engine

Download Unity

Unity Engine

GetSampleMetadataAsFloat(int, int)

Gets sample metadata value as float.
Read time 1 minuteLast updated a month ago

Definition

public float GetSampleMetadataAsFloat(int sampleIndex, int metadataIndex)

Parameters

sampleIndex

Index of the Profiler sample.

metadataIndex

Metadata index.

Returns

Type

Description

floatReturns float representation of sample metadata value.

Remarks

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