XPLMSetWeatherAtLocation
XPLM_API void XPLMSetWeatherAtLocation(
double latitude,
double longitude,
double altitude_m,
XPLMWeatherInfo_t * in_info);
Set the current weather conditions at a given location. Please see the notes on individual fields in XPLMSetWeatherAtAirport, and notes on timing in XPLMEndWeatherUpdate.
This call is not intended to be used per-frame. It should be called only during the pre-flight loop callback.