OpenXRRenderModel
Inherits: Entity3D < Entity < Object
Description
Section titled “Description”This node will display an OpenXR render model.
This node will display an OpenXR render model by accessing the associated GLTF and processes all animation data (if supported by the XR runtime).
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.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| RID | render_model |
RID() |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| String | get_top_level_path() const |
Signals
Section titled “Signals”render_model_top_level_path_changed
render_model_top_level_path_changed()
Emitted when the top level path of this render model has changed.
Property descriptions
Section titled “Property descriptions”render_model
RID render_model = RID()
The render model RID for the render model to load, as returned by OpenXRRenderModelExtension.render_model_create() or OpenXRRenderModelExtension.render_model_get_all().
Method descriptions
Section titled “Method descriptions”get_top_level_path
String get_top_level_path() const
Returns the top level path related to this render model.
