diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-02 09:06:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-02 09:06:06 +0200 |
commit | afe03e872ba3585fc0669ce574c88dfb5a2d24b7 (patch) | |
tree | f4e024394f5849f45cdd7ba507f1343cb99f2a91 /doc | |
parent | 0636e2a877bd8ce5d932b38d504c0f6996111274 (diff) | |
parent | 851c1050b23d2f0b336e6fd3891d97fcd37e8c76 (diff) |
Merge pull request #34926 from Xrayez/draw-transform-defaults
Provide `draw_set_transform` defaults for rotation and scale
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/CanvasItem.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml index b3a3722836..be361f93f3 100644 --- a/doc/classes/CanvasItem.xml +++ b/doc/classes/CanvasItem.xml @@ -285,9 +285,9 @@ </return> <argument index="0" name="position" type="Vector2"> </argument> - <argument index="1" name="rotation" type="float"> + <argument index="1" name="rotation" type="float" default="0.0"> </argument> - <argument index="2" name="scale" type="Vector2"> + <argument index="2" name="scale" type="Vector2" default="Vector2( 1, 1 )"> </argument> <description> Sets a custom transform for drawing via components. Anything drawn afterwards will be transformed by this. |