PackedVector3Array

    A packed array of Vector3s.

    PackedVector3Array.swift:19
    class PackedVector3Array

    An array specifically designed to hold Vector3. Packs data tightly, so it saves memory for large array sizes.

    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. PackedVector3Array versus `ArrayVector3```). 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