add IsAMetaQuestDevice() and IsAHtcViveDevice() methods

This commit is contained in:
Mamadou Babaei
2024-06-04 12:54:57 +02:00
parent f4dcbe4d32
commit b7f9bb9eef
@@ -69,6 +69,11 @@ public:
*/
static bool IsMetaQuest3();
FORCEINLINE static bool IsAMetaQuestDevice()
{
return IsMetaQuest2() || IsMetaQuestPro() || IsMetaQuest3();
}
/**
* Checks whether the HMD device is HTC VIVE Pro, or not.
*/
@@ -90,5 +95,10 @@ public:
*/
static bool IsHtcViveXRElite();
FORCEINLINE static bool IsAHtcViveDevice()
{
return IsHtcVivePro() || IsHtcViveFocus3() || IsHtcViveXRElite();
}
static ESGHeadMountedDisplayDevice GetDeviceType();
};