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 ( int index ) const |
|
get_binding_count ( ) const |
属性说明¶
Array bindings = []
用于该交互配置的动作绑定。
String interaction_profile_path = ""
标识该 XR 设备的交互配置路径。
方法说明¶
OpenXRIPBinding get_binding ( int index ) const
检索在该索引处的绑定。
int get_binding_count ( ) const
获取该交互配置中的绑定数量。