Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetSampleMetadataAsString(int, int)

Gets sample metadata value as string.
Read time 1 minuteLast updated 11 days ago

Definition

public string GetSampleMetadataAsString(int sampleIndex, int metadataIndex)

Parameters

sampleIndex

Index of the Profiler sample.

metadataIndex

Metadata index.

Returns

Type

Description

stringReturns string representation of sample metadata value.

Remarks

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