Documentation

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.
Read time 1 minuteLast updated a month ago

Definition

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

Returns

Type

Description

floatNumber of vsyncs per second of the current platform.