Vector4

    A 4D vector using floating-point coordinates.

    Vector4.swift:21
    struct Vector4

    A 4-element structure that can be used to represent 4D coordinates or any other quadruplet of numeric values.

    It uses floating-point coordinates. By default, these floating-point values use 32-bit precision, unlike float which is always 64-bit. If double precision is needed, compile the engine with the option precision=double.

    See Vector4i for its integer counterpart.

    Citizens in SwiftGodot

    Conformances

    Types

    Type members

    Instance members

    Type features

    Instance features