diff options
author | Juan Linietsky <reduzio@gmail.com> | 2023-01-06 15:14:39 +0100 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2023-01-06 17:17:43 +0100 |
commit | 576ae694e088de3e8ef9c7cae76113d03443833b (patch) | |
tree | 9804f895132edc639081d2a7a9dbf0150cff73db /doc | |
parent | b14f7aa9f92ff44135c283a9c88dab5ef9136d64 (diff) |
Unbind Variant methods that change immutable types.
Fixes #62706.
Code is commented instead of removed to clarify why they should not be re-added.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Transform2D.xml | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/doc/classes/Transform2D.xml b/doc/classes/Transform2D.xml index 23d20a5a75..f3ed90a015 100644 --- a/doc/classes/Transform2D.xml +++ b/doc/classes/Transform2D.xml @@ -183,28 +183,6 @@ This can be seen as transforming with respect to the local frame. </description> </method> - <method name="set_rotation"> - <return type="void" /> - <param index="0" name="rotation" type="float" /> - <description> - Sets the transform's rotation (in radians). - </description> - </method> - <method name="set_scale"> - <return type="void" /> - <param index="0" name="scale" type="Vector2" /> - <description> - Sets the transform's scale. - [b]Note:[/b] Negative X scales in 2D are not decomposable from the transformation matrix. Due to the way scale is represented with transformation matrices in Godot, negative scales on the X axis will be changed to negative scales on the Y axis and a rotation of 180 degrees when decomposed. - </description> - </method> - <method name="set_skew"> - <return type="void" /> - <param index="0" name="skew" type="float" /> - <description> - Sets the transform's skew (in radians). - </description> - </method> <method name="translated" qualifiers="const"> <return type="Transform2D" /> <param index="0" name="offset" type="Vector2" /> |