OpenXRInteractionProfile
繼承: Resource < RefCounted < Object
用於 OpenXR 的建議綁定對象。
說明
此物件儲存用於一個互動配置的建議綁定。互動配置定義了一個被追蹤的 XR 裝置(例如一個 XR 控制器)的中繼資料。
有關更多資訊,請參閱《OpenXR 規範中的互動配置信息》。
屬性
|
||
|
||
|
方法
get_binding(index: int) const |
|
get_binding_count() const |
|
get_binding_modifier(index: int) const |
|
get_binding_modifier_count() const |
屬性說明
Array binding_modifiers = [] 🔗
Binding modifiers for this interaction profile.
用於該互動配置的動作綁定。
String interaction_profile_path = "" 🔗
標識該 XR 裝置的互動配置路徑。
方法說明
OpenXRIPBinding get_binding(index: int) const 🔗
檢索在該索引處的綁定。
int get_binding_count() const 🔗
獲取該互動配置中的綁定數量。
OpenXRIPBindingModifier get_binding_modifier(index: int) const 🔗
Get the OpenXRBindingModifier at this index.
int get_binding_modifier_count() const 🔗
Get the number of binding modifiers in this interaction profile.