diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-04 11:34:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-04 11:34:35 +0200 |
commit | 95ff547da4aba872dd042d3b670945eab6eb5b48 (patch) | |
tree | 046ab50be87687a11f7f3323f648170b1a04c2df /scene/3d/node_3d.h | |
parent | 875ed4d600e6ae3a41841443a34ed4ede1c8e6fd (diff) | |
parent | a6e44bd16c89b454dba697c96a0ee47c6a7ff156 (diff) |
Merge pull request #44198 from madmiraal/rename-translation-position
Rename Node3D's property translation to position
Diffstat (limited to 'scene/3d/node_3d.h')
-rw-r--r-- | scene/3d/node_3d.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/node_3d.h b/scene/3d/node_3d.h index 175885141e..09a96bf8ca 100644 --- a/scene/3d/node_3d.h +++ b/scene/3d/node_3d.h @@ -122,12 +122,12 @@ public: Ref<World3D> get_world_3d() const; - void set_translation(const Vector3 &p_translation); + void set_position(const Vector3 &p_position); void set_rotation(const Vector3 &p_euler_rad); void set_rotation_degrees(const Vector3 &p_euler_deg); void set_scale(const Vector3 &p_scale); - Vector3 get_translation() const; + Vector3 get_position() const; Vector3 get_rotation() const; Vector3 get_rotation_degrees() const; Vector3 get_scale() const; |