diff options
author | Juan Linietsky <reduzio@gmail.com> | 2017-01-04 01:16:14 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2017-01-04 01:16:14 -0300 |
commit | b085c40edfac45ec1c8b866c789f6e9bab7e5e08 (patch) | |
tree | fb53cad5fcb37fcad404805fe7330d36fcd4e905 /scene/3d/spatial.h | |
parent | 3fae505128d5bfdeec42244820d0b85d0408f2b7 (diff) | |
download | redot-engine-b085c40edfac45ec1c8b866c789f6e9bab7e5e08.tar.gz |
-Conversion of most properties to a simpler syntax, easier to use by script
-Modified help to display properties
GDScript can still not make use of them, though.
Diffstat (limited to 'scene/3d/spatial.h')
-rw-r--r-- | scene/3d/spatial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/3d/spatial.h b/scene/3d/spatial.h index de18f78bc4..8121eaa8c2 100644 --- a/scene/3d/spatial.h +++ b/scene/3d/spatial.h @@ -146,12 +146,12 @@ public: void set_translation(const Vector3& p_translation); void set_rotation(const Vector3& p_euler_rad); - void set_rotation_deg(const Vector3& p_euler_deg); + void set_rotation_in_degrees(const Vector3& p_euler_deg); void set_scale(const Vector3& p_scale); Vector3 get_translation() const; Vector3 get_rotation() const; - Vector3 get_rotation_deg() const; + Vector3 get_rotation_in_degrees() const; Vector3 get_scale() const; void set_transform(const Transform& p_transform); |