Updates lighting state. Should be called by the component's update.
void update(double dt) { _updateAnimation(dt); if (_config?.useComponentAngle == true) { angle = _calculateAngle(); } }