Repeat

    GradientTexture2D.swift:32
    enum Repeat

    Cases

    Other members in extension

    View members

    Hide members

    This section is hidden by default because it contains too many (10) members.

    Types

    Type members

    Instance members

    • var fill: GradientTexture2D.Fill

      The gradient fill type, one of the Fill values. The texture is filled by interpolating colors starting from fillFrom to fillTo offsets.

    • var fillFrom: Vector2

      The initial offset used to fill the texture specified in UV coordinates.

    • var fillTo: Vector2

      The final offset used to fill the texture specified in UV coordinates.

    • var gradient: Gradient?

      The Gradient used to fill the texture.

    • var height: Int32

      The number of vertical color samples that will be obtained from the Gradient, which also represents the texture’s height.

    • var `repeat`: GradientTexture2D.Repeat

      The gradient repeat type, one of the Repeat values. The texture is filled starting from fillFrom to fillTo offsets by default, but the gradient fill can be repeated to cover the entire texture.

    • var useHdr: Bool

      If true, the generated texture will support high dynamic range (rgbaf format). This allows for glow effects to work if glowEnabled is true. If false, the generated texture will use low dynamic range; overbright colors will be clamped (rgba8 format).

    • var width: Int32

      The number of horizontal color samples that will be obtained from the Gradient, which also represents the texture’s width.

    Citizens in SwiftGodot

    Conformances

    Type members

    Instance members

    Type features

    Instance features