This version of Unity is unsupported.

RawFrameDataView.GetSampleMetadataAsFloat

Declaration

public float GetSampleMetadataAsFloat(int sampleIndex, int metadataIndex);

Parameters

sampleIndex Index of the Profiler sample.
metadataIndex Metadata index.

Returns

float Returns float representation of sample metadata value.

Description

Gets sample metadata value as float.

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