Age | Commit message (Collapse) | Author |
|
|
|
- Updates C# signal documentation and code examples to the new API in 4.0
- Replace all `nameof` usages with the exposed `StringName`
|
|
This is for:
https://github.com/godotengine/godot-docs/issues/6245
|
|
* Fix potential crash when using bind in `Variant::get_callable_error_text()`
* Properly compute bound arguments so they can be properly shown.
* Add a function to obtain the actual bound arguments.
|
|
Properly report Callable bound arguments
|
|
Fixes #63213
Adds a function: Callable::get_amount_of_arguments_bound() to query this in callables. Exposed to the engine API.
|
|
Restores 3.x functionality that was removed in the Signal/Callable refactor of 4.0.
Fixes #64668.
Implements https://github.com/godotengine/godot-proposals/issues/6034
Usage:
```GDScript
callable.bindv([arg1,arg2,arg3])
```
|
|
- Clarify that Callable is a Variant type, not an Object.
- Add lambda function example
- Update outdated description of `is_custom` and `is_valid`-
|
|
This method can be called from GDExtension.
|
|
|
|
|
|
|
|
|
|
This makes it easier to spot syntax errors when editing the
class reference. The schema is referenced locally so validation
can still work offline.
Each class XML's schema conformance is also checked on GitHub Actions.
|
|
|
|
|
|
|
|
|
|
For the time being we don't support writing a description for those, preferring
having all details in the method's description.
Using self-closing tags saves half the lines, and prevents contributors from
thinking that they should write the argument or return documentation there.
|
|
|
|
-Up to each scripting language to implement this
-If not supported for the function, it will just error when you try to call
|
|
And move GLTF docs to its module folder.
|
|
|
|
* 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>
|
|
|
|
Change DocData comparators for MethodDoc and ArgumentDoc to get a better
ordering of constructors.
|
|
Includes various changes triggered by the refactoring of method bindings.
|
|
|
|
Translates Code Examples in classes beginning with `C`.
Includes:
* Callable
* CanvasItem
* CharFXTransform
* Color
* ColorRect
* ConfigFile
* ConfirmationDialog
* Control
* Crypto
|
|
|
|
|