class

PointClickEngine::Graphics::Effects::SceneEffects::UnderwaterEffect

Inherits PointClickEngine::Graphics::Effects::SceneEffects::BaseSceneEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object

Underwater effect using wave distortion and color

Constructors

new(duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply effect to target (implemented by subclasses)

Source
apply_to_layer(context : EffectContext, layer : Layers::Layer)

Apply effect to a specific layer

Source
bubble_count
Source
bubble_count=(bubble_count : Int32)
Source
tint_color
Source
tint_color=(tint_color : RL::Color)
Source
update(dt : Float32)

Update effect state

Source
wave_amplitude
Source
wave_amplitude=(wave_amplitude : Float32)
Source
wave_frequency
Source
wave_frequency=(wave_frequency : Float32)
Source