/// <summary> /// Get latency values /// </summary> /// <param name="Ren">Ren</param> /// <param name="TWrp">TWrp</param> /// <param name="PostPresent">PostPresent</param> public static void GetLatencyValues(ref float Ren, ref float TWrp, ref float PostPresent) { if (HMD == null || !SupportedPlatform) { return; } float[] values = { 0.0f, 0.0f, 0.0f }; float[] latencies = HMD.GetFloatArray("DK2Latency", values); Ren = latencies[0]; TWrp = latencies[1]; PostPresent = latencies[2]; }