Age | Commit message (Collapse) | Author |
|
- Implement `IEquatable` interface.
- Implement `==` and `!=` operators.
- Add `IsValid` method.
- Override `Equals` and `GetHashCode`.
- Fix `ToString` to follow Core.
- Sync documentation with Core.
|
|
And include #72377.
Co-authored-by: Wiktor Kocielski <withaust@gmail.com>
|
|
C#: Fix `Rotated` and `RotatedLocal`
|
|
- Add `AddRange` method.
- Add `Fill` method.
- Add `Max` and `Min` methods.
- Add `PickRandom` method.
- Add `Reverse` method.
- Add `RecursiveEqual` method.
- Add `Sort` method.
- Add `Slice` and `GetSliceRange` methods.
- Add `IndexOf` overload that takes an index parameter.
- Add `LastIndexOf` method.
- Add `BinarySearch` method.
- Add/update documentation.
|
|
Implementation was interchanged.
|
|
- Add `Skew` property to `Transform2D`.
- Fix `InterpolateWith` in `Transform2D` to support skewed transforms.
|
|
Fix lookup of C# types by their engine name
|
|
C#: Remove `GetArea` and `GetVolume` methods
|
|
|
|
C#: Remove obsolete StringExtensions methods
|
|
C#: Implement readonly-ness in Array and Dictionary
|
|
- Remove `GetArea` method in favor of the `Area` property in Rect2{i}.
- Replace `GetVolume` method with a `Volume` property in AABB.
|
|
|
|
Add `GodotTypeInfo::Metadata` to `MethodInfo`
|
|
- Expose `IsReadOnly` and add `MakeReadOnly` method.
|
|
Better error display in debugger panel
|
|
- Use the right stack frame info as title of the error.
- Use the actual C# exception type as error for exceptions raised from C#.
- Show the right language instead of always **C++ Error**.
|
|
|
|
Renamed C# types and members to use PascalCase and follow .NET naming conventions.
|
|
|
|
C#: Allow use of .NET 7
|
|
C#: Lookup signals and methods in Get method
|
|
C#: Skip methods with pointer parameters
|
|
Sync C# Dictionary with Core
|
|
C#: Sync GD with Core
|
|
C#: Add float an double overloads to Mathf
|
|
C#: Restore `Scale` and `Rotation` properties
|
|
Seal C# attributes
|
|
C#: Implement disposable pattern and seal `GodotSynchronizationContext` class and related
|
|
C#: Annotate API with `[MustBeVariant]`
|
|
C# Improve the "Tag" conversion of documents
|
|
|
|
|
|
- Add MustBeVariant attribute to generic parameters that are used in a Variant context
|
|
class and related
- `GodotSynchronizationContext`
- Implements `IDisposable` to dispose of the disposable field `_queue`.
- Makes the class sealed.
- `GodotTaskScheduler`
- Implements `IDisposable` to dispose of the disposable property `Context`.
- Makes the class sealed.
- `Dispatcher`
- Dispose of previous `GodotTaskScheduler` instances before creating a new one.
|
|
Co-authored-by: Yakov Borevich <j.borevich@gmail.com>
|
|
|
|
- Add overloads to print methods that take a single `string`.
- Use `StringBuilder` to append print parameters.
- Remove `PrintStack` method.
- Add `ErrorString`.
- Remove `Str` method.
- Add exception to `Range` when step is 0.
- Add `VarToBytesWithObjects` and `BytesToVarWithObjects`.
- Remove optional boolean parameter from `VarToBytes` and `BytesToVar`.
- Move `InstanceFromId` to `Godot.Object`.
- Add `Godot.Object.IsInstanceIdValid`.
- Update documentation.
|
|
|
|
- Implement `ICollection` methods explicitly.
- Add `Merge` method.
- Add `RecursiveEqual` method.
- Update documentation.
|
|
- Add `float` and `double` overloads to all methods of `Mathf`.
This allows the methods to be usable with `float`, `double` or `real_t`.
- Use `System.MathF` in the `float` overloads which may result in
better performance.
- Constants remain as `real_t` for the time being.
- Add aggresive inlining for methods that wrap `System.Math` calls.
|
|
[codeblocks] for Keep only the [CSharp] part.
[param] is changed to <c>.
[b] for bold text.
[i] for italic text.
4.0 now uses variant, so [variant] to <see cref="Godot.Variant"/>.
since Rider does not support [u], only comments have been modified.
|
|
|
|
|
|
The editor will use .NET 7 if it is installed and fall back to .NET 6 otherwise.
Exported projects will use .NET 7 or .NET 6 depending on the value of TargetFramework in the csproj.
|
|
* Works for binary and text files.
* Makes EditorQuickOpen work with custom resources again.
* Information is cached and easily accessible.
Properly fixes #66179. Supersedes #66215 and supersedes #62417
**WARNING**: This required breaking backwards binary compatibility (.res and .scn files). Files saved after this PR is merged will no longer open in any earlier versions of Godot.
|
|
|
|
C#: Implement `ExportPlugin::_get_name` and move `GLOBAL_DEF` to CSharpLanguage
|
|
Also documents the .NET project settings.
|
|
|