update method

void update(
  1. double dt
)

Updates lighting state. Should be called by the component's update.

Implementation

void update(double dt) {
  if (_config?.useComponentAngle == true) {
    angle = _calculateAngle();
  }
}