Skip to content

0.3.0

Latest

Choose a tag to compare

@gilzoide gilzoide released this 31 May 15:20
· 3 commits to main since this release

Added

  • Support for default values with types float, StringName, float Vector types, Color, all Packed Array types, Transform2D and Transform3D

Changed

  • Inherited enums and integer constants are not exposed in GDExtension classes, which fixes possible name clashes
  • Private methods, whose name start with the prefix _, are not exposed anymore

Fixed

  • Only export addons/csharp_gdextension_bindgen folder to the Asset Library
  • Enums where one of the constants is present in all constant names.
    Example: Node.ProcessThreadMessages and FLAG_PROCESS_THREAD_MESSAGES
  • Only add the "Enum" suffix to enum types when their name would clash with another declaration, such as a signal, method or property.
    This was done to match Godot's C# binding generation logic.
  • Inner type name from typed arrays
  • Support for properties that register more than one class name in "class_name".
    In such case, the common parent class is used.
    Example: CanvasItem.material uses CanvasItemMaterial,ShaderMaterial.
  • Names of Godot classes that don't exactly match their GDScript counterparts.
    The code replicates what Godot does in modules/mono/utils/naming_utils.cpp.
    Example: MultiplayerAPI -> MultiplayerApi