기술 자료

Unity Engine

Unity Engine

GetSampleTimeMs(int)

Gets the duration of sample. The amount of time is expressed in milliseconds.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public float GetSampleTimeMs(int sampleIndex)

Parameters

sampleIndex

Index of the Profiler sample.

Returns

Type

Description

floatReturns sample duration in milliseconds.