RawFrameDataView.GetSampleMetadataAsFloat

Switch to Manual
public float GetSampleMetadataAsFloat (int sampleIndex, int metadataIndex);

Parameters

sampleIndexIndex of the Profiler sample.
metadataIndexMetadata 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.