enum Godot::RenderingServer::LightType

Defined in:

libgodot/generated/classes/classes_part5.cr

Enum Members

LightDirectional = 0_i64
LightOmni = 1_i64
LightSpot = 2_i64
LightArea = 3_i64

Instance Method Summary

Instance methods inherited from struct Enum

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

Instance Method Detail

def light_area? #

Returns true if this enum value equals LightArea


def light_directional? #

Returns true if this enum value equals LightDirectional


def light_omni? #

Returns true if this enum value equals LightOmni


def light_spot? #

Returns true if this enum value equals LightSpot