class

SteamVR::Repository

Inherits Reference < Object

OpenVR 呼び出しの境界(仕様書 4.5 節、4.6 節)。 実装は openvr_repository.cr が openvr_api.dll の動的ロードで提供する。

Instance methods

acknowledge_quit

終了処理に入る前に SteamVR へ応答する(AcknowledgeQuit_Exiting)。

Source
add_application_manifest(manifest_path : String) : Bool
Source
auto_launch?(app_key : String) : Bool
Source
close
Source
open

OpenVR を VRApplication_Background で初期化する。成功したら true を返す。

SteamVR が動いていなければ失敗する。この種別を選んだのはそのためである(issue #12)。

Source
opened?

初期化に成功していて、以降の呼び出しが有効か。

Source
quit_requested?

VREvent_Quit を受け取ったら true を返す。

Source
remove_application_manifest(manifest_path : String) : Bool
Source
set_auto_launch(app_key : String, enabled : Bool) : Bool
Source