Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I detect the name of used VR headset?

How do I detect the name of used VR headset? For mixed reality - Get HMD Device Name returns Steam VR and I need to be more specific

Product Version: UE 4.17
more ▼

asked Feb 07 '18 at 12:14 PM in VR

avatar image

21 1 2 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

The SteamVR plugin has a GetVersionString function which may return what you are looking for. Unfortunately it is not exposed via Blueprints, so you will have to write some code to make use of it.

 FString FSteamVRHMD::GetVersionString() const
     if (VRSystem == nullptr)
         return FString();
     const FString Manufacturer = GetFStringTrackedDeviceProperty(VRSystem, vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_ManufacturerName_String);
     const FString Model = GetFStringTrackedDeviceProperty(VRSystem, vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_ModelNumber_String);
     const FString Serial = GetFStringTrackedDeviceProperty(VRSystem, vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_SerialNumber_String);
     const FString DriverId = GetFStringTrackedDeviceProperty(VRSystem, vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_TrackingSystemName_String);
     const FString DriverVersion = GetFStringTrackedDeviceProperty(VRSystem, vr::k_unTrackedDeviceIndex_Hmd, vr::Prop_DriverVersion_String);
     return FString::Printf(TEXT("%s, Driver: %s, Serial: %s, HMD Device: %s %s, Driver version: %s"), *FEngineVersion::Current().ToString(), *DriverId, *Serial, *Manufacturer, *Model, *DriverVersion);
more ▼

answered Feb 07 '18 at 12:48 PM

avatar image

2.2k 10 6 12

avatar image FerlinDev Feb 07 '18 at 12:59 PM

How about WindowsMixedReality for SteamVR, will it still work?

avatar image vr_marco Feb 07 '18 at 01:01 PM

Sorry no idea about that. You can try asking on the forum here: https://forums.unrealengine.com/development-discussion/vr-ar-development Some people are experimenting with it.

avatar image Jiggyjosh Jun 28 '18 at 03:42 PM

WMR does not work for unreal, every build has a terrible flaw that stops it from being practical.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question