PointClickEngine::Graphics::Effects::SceneEffects::RainEffect
Inherits PointClickEngine::Graphics::Effects::SceneEffects::BaseSceneEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object
Rain effect with particles
Constructors
new(intensity : Float32 = 0.5_f32, duration : Float32 = 0.0_f32)
SourceInstance methods
apply_to_layer(context : EffectContext, layer : Layers::Layer)
Apply effect to a specific layer
drop_color
Sourcedrop_color=(drop_color : RL::Color)
Sourcedrop_speed
Sourcedrop_speed=(drop_speed : Float32)
Sourceintensity
Sourceintensity=(intensity : Float32)
Sourcewind_speed
Sourcewind_speed=(wind_speed : Float32)
Source