Commit Graph

2935 Commits

Author SHA1 Message Date
bae843a1c9 Docs: Port Code Examples to C# (R, S, T, U)
* RenderingServer
 * RichTextEffect
 * SceneTree
 * SceneTreeTimer
 * ScriptCreateDialog
 * SpinBox
 * Sprite2D
 * StreamPeer
 * String
 * SurfaceTool
 * TextEdit
 * TileMap
 * Tree
 * Tween
 * UDPServer
 * UndoRedo

Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2021-03-05 18:57:28 +01:00
068300c7c9 Adding Raycast3D custom debug shape thickness and color 2021-03-04 11:17:26 +01:00
a5b5ac47b8 Remove trivial examples in the ItemList class documentation
See https://github.com/godotengine/godot-docs/issues/4712.
2021-03-03 22:58:45 +01:00
5895cd4c4f Merge pull request #36202 from YeldhamDev/sprite_region_hide
Hide extra options from various nodes if they're not enabled
2021-03-02 14:15:25 +01:00
70304f8633 Hide extra options from various nodes if they're not enabled 2021-03-02 09:25:09 -03:00
39a4ec50ea Fix examples in Callable docs 2021-03-02 02:34:53 +01:00
bd42a6c51e Merge pull request #42007 from HaSa1002/callable-docs
Document missing Callable methods
2021-03-01 13:20:07 +01:00
54ff2da476 Document missing Callable methods
* Callable.hash()
 * Callable.is_custom()
 * Callable.is_null()
 * Callable.is_standard()
 * Callable.bind()
 * Callable.unbind()
 * Callable::operator==
 * Callable::operator!=

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-03-01 12:49:21 +01:00
5b58482b41 Merge pull request #46508 from rcorre/pathbake
Clarify Curve.get_closest_point uses baked points.
2021-03-01 09:37:16 +01:00
a637cd8016 Merge pull request #46534 from asmaloney/doc-styleboxflat-grammar
Fix some grammar in StyleBoxFlat class docs
2021-03-01 09:35:22 +01:00
89e7e61773 Fix some grammar in StyleBoxFlat class docs 2021-02-28 20:09:10 -05:00
89283b7b53 Logger: Cache 'flush_stdout_on_print' to improve performance, and works before ProjectSettings starts.
ProjectSetting: Now 'application/run/flush_stdout_on_print' requires a restart of the Editor to take effect
2021-02-28 19:36:10 -03:00
ef5042a70f Clarify Curve.get_closest_point uses baked points.
Based on the doc, I wasn't sure if get_closest_point would return the
closest baked point or the closest "source" point. It seems to use
baked:
8faecd6a47/scene/resources/curve.cpp (L809)
2021-02-28 07:18:34 -05:00
31243e377f Fixes typo in Array::bsearch_custom doc 2021-02-26 18:01:08 +08:00
60d2c1fd47 Remove GDScript bindings for OS.get/set_exit_code, SceneTree.quit(<exit_code>) should be used instead 2021-02-25 18:34:50 +01:00
f01e95eb55 Merge pull request #46416 from nekomatata/draw-collision-outline-option
Added option in project settings to draw Shape2D outlines
2021-02-25 17:15:22 +01:00
c4b116cff7 Added option in project settings to draw Shape2D outlines
Disabling collision outlines can be useful for performance when the game
is running and many collision shapes are displayed.
2021-02-25 07:52:50 -07:00
355803db1b Improve the OS.get_environment()/OS.set_environment() documentation 2021-02-25 15:38:51 +01:00
4c8f5b998f Expose set_environment to GDScript 2021-02-25 23:36:14 +11:00
305683f83b Merge pull request #46360 from nmrkr/drag-preview-crash-after-free
Fix crash during drag if user queue_free'd the drag preview
2021-02-24 22:43:53 +01:00
eaa04c1a22 Fix crash during drag if user freed the drag preview 2021-02-24 20:59:17 +01:00
a527c6856b Merge pull request #46045 from bruvzg/text_server_bmp_create
[TextServer] Restores bitmap font dynamic construction functions.
2021-02-24 12:55:36 +01:00
548de64742 Use a more specific type for Area2D/3D body signals 2021-02-24 00:05:54 -05:00
cb29e6c49c Merge pull request #45994 from Jummit/expose-edit-selected
Expose edit_selected in Tree
2021-02-22 16:29:03 +01:00
13fb24cb6f expose edit_selected in Tree 2021-02-22 15:50:21 +01:00
8107cbd66e Merge pull request #45934 from angad-k/fix-smoothstep-function-documentation
fix minor issue in smooth step function's documentation
2021-02-22 12:38:47 +01:00
40191a748b Merge pull request #46253 from asmaloney/docs-theme
[docs] Clarification on theme's get_stylebox
2021-02-22 10:35:35 +01:00
159581739a Document theming a SpinBox's background
This closes #46248.
2021-02-21 19:32:11 +01:00
f6087d3f2b Document that Button doesn't interpret touch input (= no multitouch)
TouchScreenButton should be used for gameplay actions instead.
2021-02-21 00:30:21 +01:00
d397c32169 [docs] Clarification on theme's get_stylebox
Remove reference to "icon" (must have been a copy-paste error) & clarify where to find out what names & node_types are valid.
2021-02-20 10:10:28 -05:00
78de8a762b Update documentation for the new ProcessMode 2021-02-19 10:22:09 -05:00
efddb8a0cb Merge pull request #46194 from Calinou/os-delay-no-negative
Don't allow negative values for `OS.delay_usec()`/`OS.delay_msec()`
2021-02-19 15:14:36 +01:00
bc395c2549 Merge pull request #46221 from akien-mga/doc-sync-classref
doc: Sync classref with current source
2021-02-19 15:06:50 +01:00
0d1d719178 doc: Sync classref with current source
And fix various bogus bindings following previous PRs.
2021-02-19 14:39:14 +01:00
aaaaaf5bb6 Merge pull request #46219 from pycbouh/doc-editor-plugin-build
Add documentation for EditorPlugin's build method
2021-02-19 13:59:00 +01:00
b84f65f13c Merge pull request #44737 from KoBeWi/touch_shape_screen_centered_button
Fix shape_centered property in TouchScreenButton
2021-02-19 13:45:23 +01:00
724ed88215 Add documentation for EditorPlugin's build method 2021-02-19 15:42:41 +03:00
76f1f9b3c5 Don't allow negative values for OS.delay_usec()/OS.delay_msec()
This closes #46190.
2021-02-18 23:01:45 +01:00
3e0262509f Move tablet driver API from OS to DisplayServer. 2021-02-18 17:12:24 +02:00
c3be0c2c04 Add animation_finished signal and fix frame_changed signal for AnimatedSprite3D
Fixes #40301.
Fixes #45947.
2021-02-17 15:13:47 +01:00
2c71ff1119 Added signed_angle_to for Vector3 2021-02-16 05:07:33 -05:00
4586357dde Expose RichTextLabel selection to script
Expose existing get_selection_text and add methods to get the current
selection index from and index to.
2021-02-15 17:26:58 -07:00
e13312db79 Merge pull request #46028 from Beuc/patch-passby
doc: explain TouchScreenButton passby mode
2021-02-15 12:54:25 +01:00
9e21077fad doc: explain TouchScreenButton passby mode 2021-02-15 11:45:58 +01:00
3f6295a1ed Merge pull request #45855 from hoontee/fix-45718
Implement CollisionPolygon3D margin
2021-02-15 11:23:15 +01:00
bee718f1af [Text Server] Restores bitmap font dynamic construction functions. 2021-02-15 10:46:49 +02:00
f4d095cdd3 [TextServer] Restore character and space extra spacing support. 2021-02-15 10:46:23 +02:00
d78336c65e [CTL] Add missing font outline drawing routines and theme constants. 2021-02-14 14:11:44 +02:00
ab397460e9 Expose a File.flush() method to scripting
This can be used to ensure a file has its contents saved
even if the project crashes or is killed by the user
(among other use cases).

See discussion in #29075.
2021-02-13 01:37:16 +01:00
892060fa47 fix minor issue in smooth step function's documentation 2021-02-13 02:12:58 +05:30