文档

Unity Engine

Unity Engine

GetVSyncsPerSecond()

This 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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static float GetVSyncsPerSecond()

Returns

Type

Description

floatNumber of vsyncs per second of the current platform.