setUseRealTimeSunPosition method
Enables or disables real-time sun position tracking.
When enabled, the sun's position will be calculated based on the current time.
Example usage:
controller.setUseRealTimeSunPosition(true);
Implementation
void setUseRealTimeSunPosition(bool enabled) {
useRealTimeSunPosition = enabled;
if (enabled) {
updateSunPositionFromRealTime();
}
notifyListeners();
}