Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
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 = []
🔗
用于该交互配置的绑定修改器。
用于该交互配置的动作绑定。
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 🔗
获取交互配置中绑定修改器的数量。