LightSource constructor

LightSource({
  1. required Vector2 position,
  2. required LightingConfig config,
  3. bool enabled = true,
  4. double angle = 0,
})

Implementation

LightSource({
  required this.position,
  required this.config,
  this.enabled = true,
  this.angle = 0,
});