Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Most of the time you want to avoid looking that up and instead use an API that answers the question you really want the answer to. That way your code will keep working when an HMD you've never heard of is released. If you can't find the data you need, ask and we can figure out if it's there or if it should be added.
I believe it returns "Oculus Rift DK2" for DK2, and "Oculus Rift CV1" for CV1. Vive Pre is showing up as "Vive DVT." Don't know about the others.
You could use SteamVR.instance.hmd_ModelNumber.Contains("Oculus") to determine if you're on an Oculus headset, but it makes the assumption that future versions of Oculus headsets will also report back with "Oculus" in the name.