Path: blob/master/modules/openxr/doc_classes/OpenXRRenderModel.xml
10278 views
<?xml version="1.0" encoding="UTF-8" ?>1<class name="OpenXRRenderModel" inherits="Node3D" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../doc/class.xsd">2<brief_description>3This node will display an OpenXR render model.4</brief_description>5<description>6This node will display an OpenXR render model by accessing the associated GLTF and processes all animation data (if supported by the XR runtime).7Render 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.8</description>9<tutorials>10</tutorials>11<methods>12<method name="get_top_level_path" qualifiers="const">13<return type="String" />14<description>15Returns the top level path related to this render model.16</description>17</method>18</methods>19<members>20<member name="render_model" type="RID" setter="set_render_model" getter="get_render_model" default="RID()">21The render model RID for the render model to load, as returned by [method OpenXRRenderModelExtension.render_model_create] or [method OpenXRRenderModelExtension.render_model_get_all].22</member>23</members>24<signals>25<signal name="render_model_top_level_path_changed">26<description>27Emitted when the top level path of this render model has changed.28</description>29</signal>30</signals>31</class>323334