GetItemMergedSamplesMetadataAsFloat(int, int, int)
Returns float representation of hierarchy item metadata value.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public float GetItemMergedSamplesMetadataAsFloat(int id, int sampleIndex, int metadataIndex)
Parameters
Returns
Type | Description |
|---|---|
| float | Returns value of the metadata as float. |
Remarks
Throws:
System.ArgumentException if id is invalid. System.IndexOutOfRangeException if sampleIndex is not in the range from 0 to HierarchyFrameDataView.GetItemMergedSamplesCount. System.IndexOutOfRangeException if medataIndex is not in the range from 0 to HierarchyFrameDataView.GetItemMergedSamplesMetadataCount.