GetSampleMetadataAsInt(int, int)
Gets sample metadata value as integer.
Read time 1 minuteLast updated 9 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public int GetSampleMetadataAsInt(int sampleIndex, int metadataIndex)
Parameters
Returns
Type | Description |
|---|---|
| int | Returns integer representation of sample metadata value. |
Remarks
Use to obtain additional data associated with the sample. metadataIndex must be between 0 and RawFrameDataView.GetSampleMetadataCount.