summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:31:35 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-04 14:31:35 +0200
commit2ac88339e40d14bb586afa13af7c7b89c754e9da (patch)
tree01e62bd576996493d504b5ec0a04a5bf01031940 /doc/classes
parentfb32399183a223ccbbc2bf2064496b223eaedff5 (diff)
parent25f9f923a11ab366faf4a50cf7834b3b5b9d4f8d (diff)
downloadredot-engine-2ac88339e40d14bb586afa13af7c7b89c754e9da.tar.gz
Merge pull request #89721 from KoBeWi/position_who
Rename some arguments called "position"
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/CollisionObject3D.xml8
-rw-r--r--doc/classes/GraphEdit.xml4
-rw-r--r--doc/classes/StatusIndicator.xml2
-rw-r--r--doc/classes/Tree.xml4
4 files changed, 9 insertions, 9 deletions
diff --git a/doc/classes/CollisionObject3D.xml b/doc/classes/CollisionObject3D.xml
index b45a5d8c56..063c27c76a 100644
--- a/doc/classes/CollisionObject3D.xml
+++ b/doc/classes/CollisionObject3D.xml
@@ -14,11 +14,11 @@
<return type="void" />
<param index="0" name="camera" type="Camera3D" />
<param index="1" name="event" type="InputEvent" />
- <param index="2" name="position" type="Vector3" />
+ <param index="2" name="event_position" type="Vector3" />
<param index="3" name="normal" type="Vector3" />
<param index="4" name="shape_idx" type="int" />
<description>
- Receives unhandled [InputEvent]s. [param position] is the location in world space of the mouse pointer on the surface of the shape with index [param shape_idx] and [param normal] is the normal vector of the surface at that point. Connect to the [signal input_event] signal to easily pick up these events.
+ Receives unhandled [InputEvent]s. [param event_position] is the location in world space of the mouse pointer on the surface of the shape with index [param shape_idx] and [param normal] is the normal vector of the surface at that point. Connect to the [signal input_event] signal to easily pick up these events.
[b]Note:[/b] [method _input_event] requires [member input_ray_pickable] to be [code]true[/code] and at least one [member collision_layer] bit to be set.
</description>
</method>
@@ -207,11 +207,11 @@
<signal name="input_event">
<param index="0" name="camera" type="Node" />
<param index="1" name="event" type="InputEvent" />
- <param index="2" name="position" type="Vector3" />
+ <param index="2" name="event_position" type="Vector3" />
<param index="3" name="normal" type="Vector3" />
<param index="4" name="shape_idx" type="int" />
<description>
- Emitted when the object receives an unhandled [InputEvent]. [param position] is the location in world space of the mouse pointer on the surface of the shape with index [param shape_idx] and [param normal] is the normal vector of the surface at that point.
+ Emitted when the object receives an unhandled [InputEvent]. [param event_position] is the location in world space of the mouse pointer on the surface of the shape with index [param shape_idx] and [param normal] is the normal vector of the surface at that point.
</description>
</signal>
<signal name="mouse_entered">
diff --git a/doc/classes/GraphEdit.xml b/doc/classes/GraphEdit.xml
index a9ac47d8df..18469b00a8 100644
--- a/doc/classes/GraphEdit.xml
+++ b/doc/classes/GraphEdit.xml
@@ -413,9 +413,9 @@
</description>
</signal>
<signal name="popup_request">
- <param index="0" name="position" type="Vector2" />
+ <param index="0" name="at_position" type="Vector2" />
<description>
- Emitted when a popup is requested. Happens on right-clicking in the GraphEdit. [param position] is the position of the mouse pointer when the signal is sent.
+ Emitted when a popup is requested. Happens on right-clicking in the GraphEdit. [param at_position] is the position of the mouse pointer when the signal is sent.
</description>
</signal>
<signal name="scroll_offset_changed">
diff --git a/doc/classes/StatusIndicator.xml b/doc/classes/StatusIndicator.xml
index 6b015c3d15..e1fcc35ad7 100644
--- a/doc/classes/StatusIndicator.xml
+++ b/doc/classes/StatusIndicator.xml
@@ -22,7 +22,7 @@
<signals>
<signal name="pressed">
<param index="0" name="mouse_button" type="int" />
- <param index="1" name="position" type="Vector2i" />
+ <param index="1" name="mouse_position" type="Vector2i" />
<description>
Emitted when the status indicator is pressed.
</description>
diff --git a/doc/classes/Tree.xml b/doc/classes/Tree.xml
index 0f318efbd1..d95492479c 100644
--- a/doc/classes/Tree.xml
+++ b/doc/classes/Tree.xml
@@ -414,7 +414,7 @@
</description>
</signal>
<signal name="empty_clicked">
- <param index="0" name="position" type="Vector2" />
+ <param index="0" name="click_position" type="Vector2" />
<param index="1" name="mouse_button_index" type="int" />
<description>
Emitted when a mouse button is clicked in the empty space of the tree.
@@ -442,7 +442,7 @@
</description>
</signal>
<signal name="item_mouse_selected">
- <param index="0" name="position" type="Vector2" />
+ <param index="0" name="mouse_position" type="Vector2" />
<param index="1" name="mouse_button_index" type="int" />
<description>
Emitted when an item is selected with a mouse button.