Age | Commit message (Collapse) | Author |
|
Add `AspectRatioContainer` class
|
|
Includes:
* File
* Geometry2D
* HashingContext
* HTTPClient
* HTTPRequest
* Image
* Input
* int
* ItemList
* JSONParseResult
* KinematicBody2D
* LineEdit
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
|
|
Fix binding of default value in EditorSpatialGizmoPlugin::get_material()
|
|
It was commented for some reason I can't remember.
|
|
Co-authored-by: Ugis Brekis <ugis.brekis@productmadness.com>
|
|
Document C# garbage collection caveats in Reference and Resource
|
|
|
|
|
|
|
|
Use Vector2i instead of Vector2 for Image get_pixelv and set_pixelv
|
|
See #24232.
|
|
Co-authored-by: Andrii Doroshenko <xrayez@gmail.com>
|
|
See #43689.
Also 'fixed' some spelling for behavior in publicly visible strings.
(Sorry en_GB, en_CA, en_AU, and more... Silicon Valley won the tech spelling
war.)
|
|
Update joy button and stick names, enums and documentation
|
|
|
|
Made serialization of Command toggleable when saving InputEvents.
|
|
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.
|
|
|
|
|
|
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.
|
|
Clarify Curve3D.get_point_{in,out} position in doc.
|
|
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)
```
|
|
Correct the doc about Tree.get_edited
|
|
Clarify packet peer `max_buffer_po2` in ProjectSettings documentation
|
|
This closes https://github.com/godotengine/godot-docs/issues/4364.
|
|
Rename the `type` parameter to `node_type` in Theme and Control
|
|
Improve the Dictionary class documentation
|
|
Remove the unnecessary sync() and the restrictions it imposes on 3D Physics.
|
|
Allow getting Input "axis" and "vector" values by specifying multiple actions
|
|
Docs: Port code examples to C# (M, N, O, P, Q, R)
|
|
- 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.
|
|
|
|
|
|
|
|
Make Path3D handles visible and consistent with 2D.
|
|
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`
|
|
Docs: MeshDataTool: showcase tool in code example
|
|
|
|
|
|
Expose LineEdit scroll offset to scripts
|
|
For get_vector, use raw values and handle deadzones appropriately
|
|
|
|
doc: Add template to document Variant operators, fixups to #43419
|
|
|
|
- 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`.
|
|
KoBeWi/add_an_array_to_another_array_but_with_a_method
Add append_array() method to Array class
|
|
|
|
Follow up to #43356
|
|
Add docs for editor viewport drawing methods
|
|
Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
|