github migueldeicaza/SwiftGodot 0.44.0

latest releases: v0.79.0, v0.78.0, v0.78...
2 years ago
  • New IntersectRayResult strong type from Estevan Hernandez

  • Generates various native_structures, and also surfaces a handful of
    APIs that take pointers (those that exposed 'const void*' and
    'AudioFrame*') and were not available before. Additioanl
    pointer-based APIs will come, but there are some ambiguities and
    areas where we could surface a better API than just pointers, so I
    am explicitly going slow here, to avoid having to write a lot of
    additional compatibility hacks later.

  • The append methods in PackedArray classes no longer take a "value: "
    parameter, although a version is kept for compatibility.

  • The append methods now use the natural type for the array they
    contain, which should reduce the amount of casts necessary. That
    is, in the past we surfaced "append(value: Int64)" for the
    PackedArrayInt32, which was odd.

    Now:

    • PackedByteArray.append takes a UInt8
    • PackedFloat32Array.append takes a Float
    • PackedInt32Array.append takes a Int32

Don't miss a new SwiftGodot release

NewReleases is sending notifications on new releases.