WorldTransitionToWeather Method

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Starts transitioning the current weather to the specified weather, over the specified duration.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void TransitionToWeather(
	WeatherType weatherType,
	float duration
)

Parameters

weatherType
Type: RageWeatherType
The type of the weather to transition to.
duration
Type: SystemSingle
The duration the transition lasts, in seconds.
See Also

Reference