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"

Detect VR Headset?

Hi All,

I have two headsets, both are VIVE's but one is the standard and one is the pro. At the moment I find I need different optimizations for each scene depending on which headset I'm using, so I was wondering if there was a way to auto detect whether its a Standard or Pro, then automatically setting off a preset console command at begin play depending on which.

The same projects are being used for both headsets and I never know in advance which one it will be, so an automatic solution would be great for this.

Is this possible?

Product Version: UE 4.20
more ▼

asked Sep 12 '18 at 10:47 AM in Blueprint Scripting

avatar image

167 31 46 51

avatar image Alex O ♦♦ STAFF Sep 12 '18 at 08:16 PM


Does "GetHMDDeviceName" return the same Name for both HMDs? (IIRC it will just say SteamVR for both)

It looks like the SteamVR API has a function that could be exposed:


avatar image Dark_Jubei Sep 13 '18 at 08:08 AM

Hey Alex, thanks for that.

ill try the "GetHMDDeviceName" tonight and see if it gets the same result. I'm still learning unreal and blueprint scripting so i have no idea how to write code for this, is it implemented into unreal or will i need some kind of external scripting program for it?

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

0 answers: sort voted first
Be the first one to answer this question
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