文档

Unity Engine

Unity Engine

GetSampleTimeNs(int)

Gets the duration of sample. The amount of time is expressed in nanoseconds.
阅读时间1 分钟最后更新于 1 个月前

Definition

public ulong GetSampleTimeNs(int sampleIndex)

Parameters

sampleIndex

Index of the Profiler sample.

Returns

Type

Description

ulongReturns sample duration in nanoseconds.