GetSampleTimeMs(int)
Gets the duration of sample. The amount of time is expressed in milliseconds.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Profiling
- Assembly: UnityEditor.CoreModule
public float GetSampleTimeMs(int sampleIndex)
Parameters
Index of the Profiler sample.
Returns
Type | Description |
|---|---|
| float | Returns sample duration in milliseconds. |