You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/classes/@GlobalScope.xml
+11
Original file line number
Diff line number
Diff line change
@@ -844,6 +844,7 @@
844
844
</description>
845
845
</method>
846
846
<methodname="print"qualifiers="vararg">
847
+
<returntype="void" />
847
848
<description>
848
849
Converts one or more arguments of any type to string in the best way possible and prints them to the console.
849
850
[codeblocks]
@@ -860,6 +861,7 @@
860
861
</description>
861
862
</method>
862
863
<methodname="print_rich"qualifiers="vararg">
864
+
<returntype="void" />
863
865
<description>
864
866
Converts one or more arguments of any type to string in the best way possible and prints them to the console.
865
867
The following BBCode tags are supported: [code]b[/code], [code]i[/code], [code]u[/code], [code]s[/code], [code]indent[/code], [code]code[/code], [code]url[/code], [code]center[/code], [code]right[/code], [code]color[/code], [code]bgcolor[/code], [code]fgcolor[/code].
@@ -879,11 +881,13 @@
879
881
</description>
880
882
</method>
881
883
<methodname="print_verbose"qualifiers="vararg">
884
+
<returntype="void" />
882
885
<description>
883
886
If verbose mode is enabled ([method OS.is_stdout_verbose] returning [code]true[/code]), converts one or more arguments of any type to string in the best way possible and prints them to the console.
884
887
</description>
885
888
</method>
886
889
<methodname="printerr"qualifiers="vararg">
890
+
<returntype="void" />
887
891
<description>
888
892
Prints one or more arguments to strings in the best way possible to standard error line.
889
893
[codeblocks]
@@ -897,6 +901,7 @@
897
901
</description>
898
902
</method>
899
903
<methodname="printraw"qualifiers="vararg">
904
+
<returntype="void" />
900
905
<description>
901
906
Prints one or more arguments to strings in the best way possible to the OS terminal. Unlike [method print], no newline is automatically added at the end.
902
907
[b]Note:[/b] The OS terminal is [i]not[/i] the same as the editor's Output dock. The output sent to the OS terminal can be seen when running Godot from a terminal. On Windows, this requires using the [code]console.exe[/code] executable.
@@ -917,6 +922,7 @@
917
922
</description>
918
923
</method>
919
924
<methodname="prints"qualifiers="vararg">
925
+
<returntype="void" />
920
926
<description>
921
927
Prints one or more arguments to the console with a space between each argument.
922
928
[codeblocks]
@@ -930,6 +936,7 @@
930
936
</description>
931
937
</method>
932
938
<methodname="printt"qualifiers="vararg">
939
+
<returntype="void" />
933
940
<description>
934
941
Prints one or more arguments to the console with a tab between each argument.
935
942
[codeblocks]
@@ -943,6 +950,7 @@
943
950
</description>
944
951
</method>
945
952
<methodname="push_error"qualifiers="vararg">
953
+
<returntype="void" />
946
954
<description>
947
955
Pushes an error message to Godot's built-in debugger and to the OS terminal.
948
956
[codeblocks]
@@ -957,6 +965,7 @@
957
965
</description>
958
966
</method>
959
967
<methodname="push_warning"qualifiers="vararg">
968
+
<returntype="void" />
960
969
<description>
961
970
Pushes a warning message to Godot's built-in debugger and to the OS terminal.
962
971
[codeblocks]
@@ -1075,6 +1084,7 @@
1075
1084
</description>
1076
1085
</method>
1077
1086
<methodname="randomize">
1087
+
<returntype="void" />
1078
1088
<description>
1079
1089
Randomizes the seed (or the internal state) of the random number generator. The current implementation uses a number based on the device's time.
1080
1090
[b]Note:[/b] This function is called automatically when the project is run. If you need to fix the seed to have consistent, reproducible results, use [method seed] to initialize the random number generator.
@@ -1151,6 +1161,7 @@
1151
1161
</description>
1152
1162
</method>
1153
1163
<methodname="seed">
1164
+
<returntype="void" />
1154
1165
<paramindex="0"name="base"type="int" />
1155
1166
<description>
1156
1167
Sets the seed for the random number generator to [param base]. Setting the seed manually can ensure consistent, repeatable results for most random functions.
Emitted when the user requests code completion. This signal will not be sent if [method _request_code_completion] is overridden or [member code_completion_enabled] is [code]false[/code].
602
605
</description>
603
606
</signal>
607
+
<signalname="symbol_hovered">
608
+
<paramindex="0"name="symbol"type="String" />
609
+
<paramindex="1"name="line"type="int" />
610
+
<paramindex="2"name="column"type="int" />
611
+
<description>
612
+
Emitted when the user hovers over a symbol. Unlike [signal Control.mouse_entered], this signal is not emitted immediately, but when the cursor is over the symbol for [member ProjectSettings.gui/timers/tooltip_delay_sec] seconds.
613
+
[b]Note:[/b] [member symbol_tooltip_on_hover] must be [code]true[/code] for this signal to be emitted.
614
+
</description>
615
+
</signal>
604
616
<signalname="symbol_lookup">
605
617
<paramindex="0"name="symbol"type="String" />
606
618
<paramindex="1"name="line"type="int" />
@@ -613,6 +625,7 @@
613
625
<paramindex="0"name="symbol"type="String" />
614
626
<description>
615
627
Emitted when the user hovers over a symbol. The symbol should be validated and responded to, by calling [method set_symbol_lookup_word_as_valid].
628
+
[b]Note:[/b] [member symbol_lookup_on_click] must be [code]true[/code] for this signal to be emitted.
0 commit comments