OpenXRInteractionProfile¶
继承: Resource < RefCounted < Object
用于 OpenXR 的建议绑定对象。
描述¶
该对象存储为交互配置文件(interaction profile)提供的建议绑定方案。交互配置文件用于定义XR追踪设备(如XR控制器)的元数据规范。
更多信息请参阅OpenXR规范中的交互配置文件说明 https://www.khronos.org/registry/OpenXR/specs/1.0/html/xrspec.html#semantic-path-interaction-profiles。
属性¶
方法¶
get_binding(index: int) const |
|
get_binding_count() const |
|
get_binding_modifier(index: int) const |
|
get_binding_modifier_count() const |
属性说明¶
Array binding_modifiers = [] 🔗
用于该交互配置的绑定修改器。
用于该交互配置的动作绑定。
String interaction_profile_path = "" 🔗
标识该 XR 设备的交互配置路径。
方法说明¶
OpenXRIPBinding get_binding(index: int) const 🔗
检索在该索引处的绑定。
int get_binding_count() const 🔗
获取该交互配置中的绑定数量。
OpenXRIPBindingModifier get_binding_modifier(index: int) const 🔗
获取位于该索引的 OpenXRBindingModifier。
int get_binding_modifier_count() const 🔗
获取交互配置中绑定修改器的数量。