PackedFloat64Array

    A packed array of 64-bit floating-point values.

    PackedFloat64Array.swift:21
    class PackedFloat64Array

    An array specifically designed to hold 64-bit floating-point values (double). Packs data tightly, so it saves memory for large array sizes.

    If you only need to pack 32-bit floats tightly, see PackedFloat32Array for a more memory-friendly alternative.

    Differences between packed arrays, typed arrays, and untyped arrays: Packed arrays are generally faster to iterate on and modify compared to a typed array of the same type (e.g. PackedFloat64Array versus Arrayfloat). Also, packed arrays consume less memory. As a downside, packed arrays are less flexible as they don’t offer as many convenience methods such as Array/map(method:). Typed arrays are in turn faster to iterate on and modify than untyped arrays.

    Citizens in SwiftGodot

    Conformances

    Typealiases

    Type members

    Instance members

    Show obsolete interfaces (1)

    Hide obsolete interfaces

    Type features

    Instance features

    Show obsolete interfaces (2)

    Hide obsolete interfaces