enum Godot::Gradient::InterpolationMode

Defined in:

libgodot/generated/classes/classes_part3.cr

Enum Members

GradientInterpolateLinear = 0_i64
GradientInterpolateConstant = 1_i64
GradientInterpolateCubic = 2_i64

Instance Method Summary

Instance methods inherited from struct Enum

!=(other : Int) : Bool !=, ==(other : Int) : Bool ==

Instance Method Detail

def gradient_interpolate_constant? #

Returns true if this enum value equals GradientInterpolateConstant


def gradient_interpolate_cubic? #

Returns true if this enum value equals GradientInterpolateCubic


def gradient_interpolate_linear? #

Returns true if this enum value equals GradientInterpolateLinear