add IsAMetaQuestDevice() and IsAHtcViveDevice() methods

This commit is contained in:
Mamadou Babaei
2024-08-16 18:02:05 +02:00
parent a355dc9668
commit 246c78ff2f
@@ -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();
};