Add some button roles (#11257)

* Add some `button` roles
This commit is contained in:
Rageking8
2025-09-07 12:55:33 -04:00
committed by GitHub
parent 3c0401ee8c
commit 2df068f087
6 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Because XR supports roomscale tracking you can't simply add your XR setup to a :
You will run into trouble when the user moves around their physical space and is no longer standing in the center of their room.
Godot XR Tools embeds the needed logic into a helper node called ``PlayerBody``.
Select your :ref:`XROrigin3D <class_xrorigin3d>` node and click on the ``instantiate Child Scene`` button to add a child scene.
Select your :ref:`XROrigin3D <class_xrorigin3d>` node and click on the :button:`Instantiate Child Scene` button to add a child scene.
Select ``addons/godot-xr-tools/player/player_body.tscn`` and add this node.
Adding a floor
+3 -3
View File
@@ -122,7 +122,7 @@ a single action set and to not over-engineer things.
For our walkthrough in this document we will thus create a single action set
called ``my_first_action_set``.
We do this by pressing the ``Add action set`` button:
We do this by pressing the :button:`Add action set` button:
.. image:: img/xr_my_first_action_set.webp
@@ -516,7 +516,7 @@ through the modifier button on the right side of the interaction profile editor.
.. image:: img/openxr_ip_binding_modifier.webp
You can add a new modifier by pressing the ``Add binding modifier`` button.
You can add a new modifier by pressing the :button:`Add binding modifier` button.
.. warning::
As Godot doesn't know which controllers and runtimes support a modifier,
@@ -583,7 +583,7 @@ the binding modifier button next to action attached to an input:
.. image:: img/openxr_action_binding_modifier.webp
You can add a new modifier by pressing the ``Add binding modifier`` button.
You can add a new modifier by pressing the :button:`Add binding modifier` button.
.. warning::
As Godot doesn't know which inputs on each runtime support a modifier,