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.


Did you find this page useful? Please give it a rating: