Rename XRPositionalTracker methods

Renames:
- set_type() -> set_tracker_type()
- set_name() -> set_tracker_name()
- get_tracks_orientation() - `is_tracking_orientation()
- get_tracks_position() -> `is_tracking_position()
- get_hand() -> get_tracker_hand()
- set_hand() -> set_tracker_hand()
This commit is contained in:
Marcel Admiraal 2020-12-10 11:16:14 +00:00
parent bccbd4be90
commit fdf92ca298
8 changed files with 42 additions and 42 deletions

View file

@ -12,7 +12,7 @@
<link title="VR tutorial index">https://docs.godotengine.org/en/latest/tutorials/vr/index.html</link>
</tutorials>
<methods>
<method name="get_hand" qualifiers="const">
<method name="get_tracker_hand" qualifiers="const">
<return type="int" enum="XRPositionalTracker.TrackerHand">
</return>
<description>
@ -68,18 +68,18 @@
Returns the tracker's type, which will be one of the values from the [enum XRServer.TrackerType] enum.
</description>
</method>
<method name="get_tracks_orientation" qualifiers="const">
<method name="is_tracking_orientation" qualifiers="const">
<return type="bool">
</return>
<description>
Returns [code]true[/code] if this device tracks orientation.
Returns [code]true[/code] if this device is tracking orientation.
</description>
</method>
<method name="get_tracks_position" qualifiers="const">
<method name="is_tracking_position" qualifiers="const">
<return type="bool">
</return>
<description>
Returns [code]true[/code] if this device tracks position.
Returns [code]true[/code] if this device is tracking position.
</description>
</method>
<method name="get_transform" qualifiers="const">