Version: 2022.3
言語: 日本語

FrameTimingManager

class in UnityEngine

マニュアルに切り替える

説明

The FrameTimingManager allows the user to capture and access FrameTiming data for multiple frames.

The FrameTimingManager is always active on Development Player builds. To use this feature for other build types, go to Edit > Project Settings > Player and enable the Frame Timing Stats property. The FrameTimingManager also depends on the Dynamic Resolution feature and so is only supported on platforms that support Dynamic Resolution.

Static 関数

CaptureFrameTimingsThis function triggers the FrameTimingManager to capture a snapshot of FrameTiming's data, that can then be accessed by the user.
GetCpuTimerFrequencyThis returns the frequency of CPU timer on the current platform, used to interpret timing results. If the platform does not support returning this value it will return 0.
GetGpuTimerFrequencyThis returns the frequency of GPU timer on the current platform, used to interpret timing results. If the platform does not support returning this value it will return 0.
GetLatestTimingsAllows the user to access the currently captured FrameTimings.
GetVSyncsPerSecondThis returns the number of vsyncs per second on the current platform, used to interpret timing results. If the platform does not support returning this value it will return 0.
IsFeatureEnabledCheck if frame timing statistics are enabled.