summaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2020-11-19Merge pull request #43662 from EricEzaM/PR/INP3-command_serialization_optionalRémi Verschelde
Made serialization of Command toggleable when saving InputEvents.
2020-11-19Made serialization of Command toggleable when saving InputEvents.Eric M
Made serialization of Command optional. If command is serialized, Control (On Win/Linux) or Meta (on Mac) are not. Example use case: You are on Windows and you set a shortcut to be Control + E. This would serialize as Command=true and Control=true. If you then run this project on Mac, you would need to press Command AND Control to activate the shortcut - which is not what is intended. Now, you can set store_command to true, and it will only serialize to Command = true (no Control serialized). On Windows, this means Control. On Mac, it means only command.
2020-11-18Clarify that SceneTree::quit() does not immediately end the application.Phischermen
2020-11-17Describe `ImageTexture`, `Image` creation and usageAndrii Doroshenko (Xrayez)
2020-11-17doc: Sync classref with Variant utility methodsRémi Verschelde
Copied relevant documentation from the original `@GDScript` built-ins, which will likely be removed in a future commit. Various fixups to `variant_utility.cpp` while working on this.
2020-11-17Merge pull request #43565 from rcorre/curve_handle_docRémi Verschelde
Clarify Curve3D.get_point_{in,out} position in doc.
2020-11-16Clarify Curve3D.get_point_{in,out} position in doc.Ryan Roden-Corrent
I verified this experimentally. I added a point at roughly (1,0,0), and dragged a handle back to the origin. The result was: ``` get_point_position: (0.991079, 0, -0.000069) get_point_in: (0.993409, 0, 0) get_point_out: (-0.993409, 0, 0) ```
2020-11-16Merge pull request #43537 from KoBeWi/🌳🗎🔧Rémi Verschelde
Correct the doc about Tree.get_edited
2020-11-16Merge pull request #43509 from Calinou/doc-projectsettings-packetpeerstream-sizeRémi Verschelde
Clarify packet peer `max_buffer_po2` in ProjectSettings documentation
2020-11-16Clarify packet peer `max_buffer_po2` in ProjectSettings documentationHugo Locurcio
This closes https://github.com/godotengine/godot-docs/issues/4364.
2020-11-16Merge pull request #42008 from Calinou/theme-rename-node-typeRémi Verschelde
Rename the `type` parameter to `node_type` in Theme and Control
2020-11-16Merge pull request #43533 from Calinou/doc-improve-dictionaryRémi Verschelde
Improve the Dictionary class documentation
2020-11-16Merge pull request #42167 from madmiraal/fix-42108Rémi Verschelde
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
2020-11-16Merge pull request #42976 from aaronfranke/input-get-axisRémi Verschelde
Allow getting Input "axis" and "vector" values by specifying multiple actions
2020-11-16Merge pull request #43246 from HaSa1002/docs-lang-5Rémi Verschelde
Docs: Port code examples to C# (M, N, O, P, Q, R)
2020-11-14Improve the Dictionary class documentationHugo Locurcio
- Mention Lua-style syntax. - Make the code samples self-contained. - Mention caveat with `const` (also in Array). - Clarify the description of `size()`. This closes https://github.com/godotengine/godot-docs/issues/4272.
2020-11-14Correct the doc about Tree.get_editedTomasz Chabora
2020-11-13Improve comments in Color documentationAaron Franke
2020-11-13Changed mouse cursor to the caret (text cursor) location.Feniks
2020-11-12Merge pull request #43408 from rcorre/path-gizmos-4.0Rémi Verschelde
Make Path3D handles visible and consistent with 2D.
2020-11-12Proposal 1246: Make Path3D handles more visible.Ryan Roden-Corrent
Resolves godotengine/godot-proposals#1246. It is difficult to tell the difference between the handles for adjusting curves and the points themselves when looking at a Path gizmo. This re-uses the icons used for Path2D. Unlike Path2D, this does not use a different icon for smooth vs sharp points, as using a potentially different material for each point would prevent batching the points in add_handles (and adding them out-of-order messes up other logic based on handle indices). This includes a public API change to allow specifying a texture for a handle material. This allows spatial gizmo plugins to customize the way a handle is rendered, if desired, but does not break existing behavior (as providing no texture uses the default). The path handle icons were resized as well. 16x16 is the standard icon size. These icons were 10x10 rather than 16x16, and appeared rather small in the editor. To resize, I: - Opened the original in Inkscape - Resized the document to 16x16 - Opened the transform dialog - Scaled by 160% proportionally - Used Align/Distribute to center on the page - Saved the document - Cleaned with `svgcleaner --multipass`
2020-11-12Merge pull request #43244 from HaSa1002/docs-mdtRémi Verschelde
Docs: MeshDataTool: showcase tool in code example
2020-11-12Docs: MeshDataTool: showcase tool in code exampleHaSa1002
2020-11-11Document InstancePlaceholder.create_instance not being thread-safe.Wilson E. Alvarez
2020-11-11Merge pull request #43449 from nekomatata/line_edit_window_posRémi Verschelde
Expose LineEdit scroll offset to scripts
2020-11-11Allow getting Input axis/vector values by specifying multiple actionsAaron Franke
For get_vector, use raw values and handle deadzones appropriately
2020-11-11Expose LineEdit scroll offset to scriptsPouleyKetchoupp
2020-11-10Merge pull request #43437 from akien-mga/doc-operatorsRémi Verschelde
doc: Add template to document Variant operators, fixups to #43419
2020-11-10doc: Sync classref to add operators after #43419Rémi Verschelde
2020-11-10doc: Fixups to #43419 which added operators in the docsRémi Verschelde
- Escape the method names as e.g. `operator <` is invalid XML. - Add a hack to merge all String % operator definitions for each Variant type as a single one with `Variant` argument type. - Add support for the new qualifiers in makerst.py. - Drop unused `doc_merge.py`, seems to date back to when we had all the documentation in a single `classes.xml`.
2020-11-10Merge pull request #43398 from ↵Rémi Verschelde
KoBeWi/add_an_array_to_another_array_but_with_a_method Add append_array() method to Array class
2020-11-10Register methods for drawing 3D editor overlaysTomasz Chabora
2020-11-10[Docs] Add C# example for EditorPlugin::forward_canvas_draw_over_viewportHaSa1002
Follow up to #43356
2020-11-10Merge pull request #43356 from KoBeWi/editor_artRémi Verschelde
Add docs for editor viewport drawing methods
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Docs: Port Code Examples to C# (M, N, O, P, R)HaSa1002
Includes: * MarginContainer * NavigationPolygon * Node * NodePath * OS * PackedByteArray * PackedScene * PacketPeerUDP * PCKPacker * Performance * PhysicsShapeQueryParameters2D * PhysicsShapeQueryParameters3D * PrimitiveMesh * ProjectSettings Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2020-11-09Merge pull request #42841 from HaSa1002/docs-lang-3Rémi Verschelde
Port code examples to C# (D and E)
2020-11-08Add append_array() method to Array classTomasz Chabora
2020-11-07Merge pull request #42896 from Calinou/httprequest-increase-chunk-sizeRémi Verschelde
Increase the default HTTPClient download chunk size to 64 KiB
2020-11-07Merge pull request #42947 from Calinou/image-load-bmp-from-bufferRémi Verschelde
Add `Image.load_bmp_from_buffer()` for run-time BMP image loading
2020-11-07Increase the default HTTPClient download chunk size to 64 KiBHugo Locurcio
This improves download speeds at the cost of increased memory usage. This change also effects HTTPRequest automatically. See #32807 and #33862.
2020-11-06Add docs for editor viewport drawing methodsTomasz Chabora
2020-11-06Merge pull request #41746 from Calinou/doc-projectsettings-fullscreen-borderlessRémi Verschelde
Improve the documentation related to fullscreen and borderless settings
2020-11-06Merge pull request #42870 from Calinou/doc-httprequest-tls-versionRémi Verschelde
Document the supported TLS versions in HTTPRequest
2020-11-06Merge pull request #43283 from Calinou/color-remove-contrastedRémi Verschelde
Remove `Color.contrasted()` as its behavior is barely useful
2020-11-05doc: Override default value for RandomNumberGenerator.seedRémi Verschelde
It's non-deterministic so it's better to show a fixed value like 0 instead of having it potentially change whenever `randomize()` is called. Fixes #43317.
2020-11-04doc: Sync classref with current source + fixup some bindingsRémi Verschelde
Includes various changes triggered by the refactoring of method bindings.
2020-11-03Fix typo in Tabs doc.Ryan Roden-Corrent
I don't know enough about grammar to say why the "ing" suffix is correct, but I'm reasonably sure it is :)
2020-11-03Remove `Color.contrasted()` as its behavior is barely usefulHugo Locurcio
Returning the most contrasting color isn't a trivial task, as there are often many possible choices. It's usually best left for the user to implement using a script.
2020-11-03Tooltips: Improve code clarity and docsRémi Verschelde
The return type for `_make_custom_tooltip` is clarified as Control, and users should make sure to return a visible node for proper size calculations. Moreover in the current master branch, a PopupPanel will be added as parent to the provided tooltip to make it a sub-window. Clarifies documentation for `Control._make_custom_tooltip`, and shows how to use the (until now undocumented) "TooltipPanel" and "TooltipLabel" theme types to style tooltips. Fixes #39677.