Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
godotengine
GitHub Repository: godotengine/godot
Path: blob/master/modules/openxr/doc_classes/OpenXRRenderModel.xml
10278 views
1
<?xml version="1.0" encoding="UTF-8" ?>
2
<class name="OpenXRRenderModel" inherits="Node3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">
3
<brief_description>
4
This node will display an OpenXR render model.
5
</brief_description>
6
<description>
7
This node will display an OpenXR render model by accessing the associated GLTF and processes all animation data (if supported by the XR runtime).
8
Render models were introduced to allow showing the correct model for the controller (or other device) the user has in hand, since the OpenXR action map does not provide information about the hardware used by the user. Note that while the controller (or device) can be somewhat inferred by the bound action map profile, this is a dangerous approach as the user may be using hardware not known at time of development and OpenXR will simply simulate an available interaction profile.
9
</description>
10
<tutorials>
11
</tutorials>
12
<methods>
13
<method name="get_top_level_path" qualifiers="const">
14
<return type="String" />
15
<description>
16
Returns the top level path related to this render model.
17
</description>
18
</method>
19
</methods>
20
<members>
21
<member name="render_model" type="RID" setter="set_render_model" getter="get_render_model" default="RID()">
22
The render model RID for the render model to load, as returned by [method OpenXRRenderModelExtension.render_model_create] or [method OpenXRRenderModelExtension.render_model_get_all].
23
</member>
24
</members>
25
<signals>
26
<signal name="render_model_top_level_path_changed">
27
<description>
28
Emitted when the top level path of this render model has changed.
29
</description>
30
</signal>
31
</signals>
32
</class>
33
34