summaryrefslogtreecommitdiffstats
path: root/doc/classes
diff options
context:
space:
mode:
authorEric Tuvesson <eric.tuvesson@gmail.com>2024-08-01 00:10:16 +0200
committerEric Tuvesson <eric.tuvesson@gmail.com>2024-08-01 00:10:16 +0200
commitf810d18f09bb86c6c67d8a9fd5488d48d0ae1b2e (patch)
tree3117c25724297b44ad7aec7ecb60da2005524aa3 /doc/classes
parentb6dee96f68d5bd033e080f64f2c18a0dc62f469a (diff)
downloadredot-engine-f810d18f09bb86c6c67d8a9fd5488d48d0ae1b2e.tar.gz
Fix typo in EditorPlugin `_forward_3d_draw_over_viewport(overlay)` method example
Too few arguments for "draw_circle()" call. Expected at least 3 but received 2.
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/EditorPlugin.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/EditorPlugin.xml b/doc/classes/EditorPlugin.xml
index c3ea440aea..9c1a6f6af6 100644
--- a/doc/classes/EditorPlugin.xml
+++ b/doc/classes/EditorPlugin.xml
@@ -60,7 +60,7 @@
[gdscript]
func _forward_3d_draw_over_viewport(overlay):
# Draw a circle at cursor position.
- overlay.draw_circle(overlay.get_local_mouse_position(), 64)
+ overlay.draw_circle(overlay.get_local_mouse_position(), 64, Color.WHITE)
func _forward_3d_gui_input(camera, event):
if event is InputEventMouseMotion: