mirror of
https://github.com/godotengine/godot.git
synced 2026-03-31 21:35:13 +00:00
Rename pos to position in user facing methods and variables
Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
</argument>
|
||||
<argument index="2" name="node" type="VisualScriptNode">
|
||||
</argument>
|
||||
<argument index="3" name="pos" type="Vector2" default="Vector2( 0, 0 )">
|
||||
<argument index="3" name="position" type="Vector2" default="Vector2( 0, 0 )">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
@@ -197,7 +197,7 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_node_pos" qualifiers="const">
|
||||
<method name="get_node_position" qualifiers="const">
|
||||
<return type="Vector2">
|
||||
</return>
|
||||
<argument index="0" name="func" type="String">
|
||||
@@ -405,14 +405,14 @@
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_node_pos">
|
||||
<method name="set_node_position">
|
||||
<return type="void">
|
||||
</return>
|
||||
<argument index="0" name="func" type="String">
|
||||
</argument>
|
||||
<argument index="1" name="id" type="int">
|
||||
</argument>
|
||||
<argument index="2" name="pos" type="Vector2">
|
||||
<argument index="2" name="position" type="Vector2">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
|
||||
Reference in New Issue
Block a user