gameObjects.attachables.light#

class gameObjects.attachables.light.Light(context: 'EmberEngine' = None, gameObject: 'GameObject' = None, light_type: gameObjects.attachables.light.Light.Type_ = <Type_.direct: 0>, light_color: list[float] = <factory>, radius: float = 12.0, intensity: float = 1.0)#

Bases: object

class Type_(*values)#

Bases: IntEnum

area = 2#
direct = 0#
spot = 1#
__init__(context: EmberEngine = None, gameObject: GameObject = None, light_type: ~gameObjects.attachables.light.Light.Type_ = Type_.direct, light_color: list[float] = <factory>, radius: float = 12.0, intensity: float = 1.0) None#
context: EmberEngine#
gameObject: GameObject#
intensity: float#
light_color: list[float]#
light_type: Type_#
radius: float#