/// <summary> /// Determines if is sensor present. /// </summary> /// <returns><c>true</c> if is sensor present; otherwise, <c>false</c>.</returns> public static bool IsSensorPresent() { if (HMD == null || !SupportedPlatform) { return(false); } ovrHmdDesc desc = HMD.GetDesc(); return((desc.HmdCaps & (uint)ovrHmdCaps.ovrHmdCap_Present) != 0); }