This version of Unity is unsupported.

RawFrameDataView.GetSampleMetadataAsInt

Declaration

public int GetSampleMetadataAsInt(int sampleIndex, int metadataIndex);

Parameters

sampleIndex Index of the Profiler sample.
metadataIndex Metadata index.

Returns

int Returns integer representation of sample metadata value.

Description

Gets sample metadata value as integer.

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