This version of Unity is unsupported.

RawFrameDataView.GetSampleTimeNs

Declaration

public ulong GetSampleTimeNs(int sampleIndex);

Parameters

sampleIndex Index of the Profiler sample.

Returns

ulong Returns sample duration in nanoseconds.

Description

Gets the duration of sample. The amount of time is expressed in nanoseconds.