安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
I think I may need to access it directly via .dll or OpenVR, like your project. (When I saw your work, I thought this way might be suitable for collecting sensor data) May I ask reference about C# coding or the direct use of the OpenVR, what you refered when you created these projects?
Thank you so much already, and it's ok if you don't reply!
I'm currently working on a big TypeScript project outside of these applications, but which utilizes these applications, but it means I'm a bit removed from the C# coding 😅
My applications currently are all using OpenVR, and using the .dll directly, not using Unity. It is possible to call the same functions for OpenVR in Unity though but I have not checked if it is possible to do background applications with it. I kind of expect that capability but you'd have to investigate on your own I'm afraid 😬
I was looking for a way to create a SteamVR app in the background in Unity Engine, and I've come here (https://steamproxy.net/app/358720/discussions/0/343788552532794340/)!
I would like to implement a background app that collects sensor data through the Unity Project through the "openVR for unity XR plugin" 's overlay method. If you don't mind, May I hear your opinion?
start.cmd:
powershell "C:\Users\byteframe\Desktop\randomize_vr_background.ps1"
randomize_vr_background.ps1:
$files = @(Get-ChildItem -Path 'C:\Program Files (x86)\Steam\steamapps\workshop\content\250820\' -Recurse -Include *.jpg* | ForEach-Object {$_.Fullname})
(Get-Content 'C:\Program Files (x86)\Steam\config\steamvr.vrsettings') -replace '"background".*' , ('"background" : "' + $files[(Get-Random -Maximum ($files).count)] + '",') -replace "\\", "\\" | Set-Content 'C:\Program Files (x86)\Steam\config\steamvr.vrsettings'