1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-25 15:37:42 +00:00
Commit Graph

9581 Commits

Author SHA1 Message Date
Lukas Tenbrink
1f1017a47f Update links to the contributing section of the docs to the appropriate new sections.
(cherry picked from commit 4c0026b053)
2025-09-12 09:28:22 -05:00
Lukas Tenbrink
20ca0dce72 Update class reference contribution link.
(cherry picked from commit 527f4e9e68)
2025-09-11 11:50:17 -05:00
Raul Santos
7798c0028a Fix various code examples in documentation 2024-12-21 03:47:36 +01:00
Micky
2ad161a4c7 Add documentation note on Object's boolean context 2024-11-28 20:48:51 +01:00
Daylily-Zeleen
abe68d397e Fix description of Array.sort_custom()
(cherry picked from commit c6f7c89149)
2024-09-17 08:57:46 +02:00
Giganzo
927d7a9250 Fix below what value is invalid in default_font_size doc
(cherry picked from commit 575a0b4dfb)
2024-09-17 08:57:45 +02:00
aaronp64
ec20c3ff76 Fix Array.sort_custom example code
Array.sort_custom descending sort example was comparing index 0, but had expected result based on comparing index 1.  Updated to use index 1 consistently.

(cherry picked from commit 39ca8b4e23)
2024-09-17 08:57:43 +02:00
Jason Wodicka
169b568e65 Fix C# code example for Object._get_property_list
There were two small errors in this code example that kept it from working when copied to a new node locally. These are the fixes I used locally to test the example.

(cherry picked from commit 97cf2c147e)
2024-09-16 17:18:54 +02:00
Dungeon Master
9cf21b4b03 Fix some C# variable types In AStar2D/3D Class Reference
(cherry picked from commit 1928a84f6e)
2024-09-16 17:15:07 +02:00
Tallivm
497570b1cf Fix typo in Array code example
(cherry picked from commit b516742358)
2024-09-16 17:14:51 +02:00
aaronp64
7874dad279 Minor AnimationNodeBlendSpace2D documentation fixes
Updated a couple parts that seemed to be copied over from AnimationNodeBlendSpace1D

(cherry picked from commit 05bcfda784)
2024-09-16 17:12:52 +02:00
jsjtxietian
05860062a5 Fix curve2d incorrect sample range description
(cherry picked from commit 5183588499)
2024-09-16 17:12:40 +02:00
voidedWarranties
df522db6f0 Fix virtual binding for ScriptLanguageExtension::_reload_scripts
(cherry picked from commit d65ea6fb9c)
2024-09-16 17:06:44 +02:00
kleonc
f0f69a7b7c Fix Parallax2D repeats being not relative to its transform
(cherry picked from commit 1bd8372813)
2024-09-16 17:04:12 +02:00
bruvzg
686591b948 [ImageFont] Fix escape sequence parsing, add note to the docs.
(cherry picked from commit 4cc065c2db)
2024-09-16 16:54:56 +02:00
smix8
ea5989e3f5 Add NavigationLink function to change navigation map
Adds NavigationLink function to change navigation map.

(cherry picked from commit e6ff4e56e3)
2024-09-16 16:45:38 +02:00
bruvzg
fac12603ef [.NET] Move search in files extension list definition to be after Scene level module init.
(cherry picked from commit 69d52ed081)
2024-09-16 16:38:08 +02:00
Rémi Verschelde
b8e8b339c4 Merge pull request #95347 from calsbrook/update-compositor-effect-docs
Clarify usage of CompositorEffect as an abstract base class
2024-08-12 22:41:52 +02:00
Silc Lizard (Tokage) Renew
db3a831141 Add Animation tutorial links to class reference by 4.3 2024-08-13 01:57:28 +09:00
Rémi Verschelde
86c95d26fc Merge pull request #95409 from AlexAlappsis/master
Incorrect reference to VisibleOnScreenEnabler3D/2D in VisibleOnScreenNotifier3D/2D documentation.
2024-08-12 14:10:41 +02:00
Rémi Verschelde
ece2e6d23b Merge pull request #95377 from raulsntos/gdextension/expose-property-accessors/Animation
Make `Animation::capture_included` read-only
2024-08-12 14:10:37 +02:00
Rémi Verschelde
f16c3d13b4 Merge pull request #95341 from esainane/valid-example
Fix check in `Object._ValidateProperty` example
2024-08-12 14:10:32 +02:00
Rémi Verschelde
10ae73cc69 Merge pull request #95336 from esainane/typo-eh
Fix typo in EditorImportPlugin docs
2024-08-12 14:10:21 +02:00
Alex Mitchell
3c2259f59a Fix incorrect reference to VisibleOnScreenEnabler2D/3D in *Notifier2D/3D docs 2024-08-12 13:19:49 +02:00
Raul Santos
415331f474 Make Animation::capture_included read-only
The `PROPERTY_USAGE_READ_ONLY` flag only makes the property read-only in the inspector, but the property also has the `PROPERTY_USAGE_NO_EDITOR` flag which means it won't show up in the inspector. So it does nothing, while still making it editable from scripting.

To make it read-only for scripting too, this PR removes the setter from the `PropertyInfo`. And since the `set_capture_included` method is now unused, it was also removed.
2024-08-10 18:53:45 +02:00
calsbrook
3217bc283c Clarify usage of CompositorEffect as an abstract base class in the documentation 2024-08-09 21:28:31 -07:00
Sai Nane
15f6984675 Fix check in Object._ValidateProperty example
The GDScript version above makes the `number` property read only whenever
`is_number_editable` is false.

```gdscript
func _validate_property(property: Dictionary):
	if property.name == "number" and not is_number_editable:
		property.usage |= PROPERTY_USAGE_READ_ONLY
```

The C# version is similar, but omits the negation, so the Number property is
made read only whenever `is_number_editable` is true.

This adds the negation to the C# example, making it match the GDScript
example.
2024-08-09 19:08:27 +00:00
Sai Nane
635313f8c9 Fix typo in EditorImportPlugin docs
"[param custom_importer] ca be" -> "[param custom_importer] can be"
2024-08-09 17:19:06 +00:00
Sai Nane
58e3500010 Fix documentation of EditorImportPlugin._Import
The following is the currently generated `EditorImportPlugin.cs`:

```csharp
    public virtual Error _Import(string sourceFile, string savePath, Dictionary options, Array<string> platformVariants, Array<string> genFiles)
    {
        return Error.Ok;
    }
```

This fixes the type signature in the documentation's example to match the
actual type signature.
2024-08-09 16:08:35 +00:00
Hugo Locurcio
5bc4b49f0b Document converting a TileMap node to TileMapLayer using the editor 2024-08-07 11:15:29 +02:00
Rémi Verschelde
6a10330ceb Merge pull request #95164 from Calinou/doc-window-popup-coordinates
Document expected coordinates in `PopupMenu.popup()`
2024-08-06 12:32:08 +02:00
Rémi Verschelde
e54ffd21e2 Merge pull request #95046 from timothyqiu/typos
Fix several typos in the documentation
2024-08-06 12:31:12 +02:00
Rémi Verschelde
d798b7a410 Merge pull request #95041 from AdamLearns/master
Clean up English in JSON documentation
2024-08-06 12:31:07 +02:00
Rémi Verschelde
77353e72e1 Merge pull request #95004 from Calinou/doc-texture-import-premul-alpha
Document support 3D premultiplied alpha in ResourceImporterTexture
2024-08-06 12:30:47 +02:00
Rémi Verschelde
0e244fcd97 Merge pull request #94997 from erictuvesson/fix/typo
Fix typo in EditorPlugin `_forward_3d_draw_over_viewport(overlay)` method example
2024-08-06 12:30:42 +02:00
Rémi Verschelde
8c512c61ab Merge pull request #94942 from jsjtxietian/multimwsh-custom
Mention Multimesh custom data will be compressed to half in Compatibility
2024-08-06 12:30:37 +02:00
Rémi Verschelde
6519e2ecd2 Merge pull request #94299 from TokageItLab/docs-override-loop-tree
Add a note of `loop_mode` for `custom_timeline` to the `NodeAnimation` docs
2024-08-06 12:30:29 +02:00
Adam Damiano
c138a0bb3a Clean up English in JSON documentation 2024-08-06 11:21:45 +02:00
Hugo Locurcio
2ed679eb87 Document expected coordinates in PopupMenu.popup()
- Improve documentation related to embedded subwindows and single-window mode.
- Add `minsize` keyword aliases for `popup_centered_clamped()` methods
  to ease migration to Godot 4.x (this was Godot 3.x terminology).
2024-08-05 16:45:33 +02:00
jsjtxietian
7dab1a8215 Mention Multimesh custom data will be compressed to half in Compatibility 2024-08-05 12:27:59 +08:00
Haoyu Qiu
7cf9ed5f65 Fix several typos in the documentation 2024-08-02 08:42:20 +08:00
Silc Lizard (Tokage) Renew
dd32e2d331 Add a note of loop_mode for custom_timeline to the NodeAnimation docs 2024-08-01 18:52:32 +09:00
Hugo Locurcio
e15a62e42c Document support 3D premultiplied alpha in ResourceImporterTexture
This is supported since Godot 4.3.
2024-08-01 03:59:49 +02:00
Eric Tuvesson
f810d18f09 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.
2024-08-01 00:10:16 +02:00
Will Thompson
4fb07d4608 Font: Fix typo in get_supported_variation_list example
FontVariation.set_base_font is a function, not a property. The property
is FontVariation.base_font.
2024-07-31 23:16:30 +02:00
bruvzg
1dfcbccfe6 [macOS] Fix is_process_running and kill for bundled apps. 2024-07-31 16:54:53 +02:00
Rémi Verschelde
6d46399bc9 Merge pull request #94879 from KoBeWi/color_conjuring_tricks
Document alternatives to some static Color methods
2024-07-29 15:17:40 +02:00
Rémi Verschelde
9a8f18b9bf Merge pull request #94796 from kus04e4ek/backfall
Windows: Fall back to D3D12 if Vulkan is not supported and vice versa
2024-07-29 15:17:26 +02:00
Rémi Verschelde
c2bf146fb6 Merge pull request #94842 from edassis/master
Fix typo in Array's `sort()` method description
2024-07-28 17:47:02 +02:00
Rémi Verschelde
53ab23f7d7 Merge pull request #94821 from kitbdev/fix-textedit-scroll-suffix
Fix `TextEdit` scroll properties editor hint suffix
2024-07-28 17:46:48 +02:00