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- __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]#
- radius: float#