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 |
|---|---|
| float | Number of vsyncs per second of the current platform. |