WeatherChangeBeforeEvent Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Contains information related to changes in weather in the environment.
Properties
cancel
cancel: boolean;
If set to true the weather change will be cancelled.
Type: boolean
duration
duration: number;
Sets the duration of the new weather (in ticks).
Type: number
newWeather
newWeather: WeatherType;
The type of weather that will be applied.
Type: WeatherType
previousWeather
read-only previousWeather: WeatherType;
The type of weather that it was prior to the event being fired.
Type: WeatherType
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for