class

PointClickEngine::Graphics::Effects::SceneEffects::SceneShakeEffect

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

Scene-specific shake that moves the entire view

Constructors

new(amplitude : Float32 = 10.0_f32, frequency : Float32 = 10.0_f32, duration : Float32 = 0.5_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
shake_effect
Source
shake_effect=(shake_effect : ObjectEffects::ShakeEffect)
Source
update(dt : Float32)

Update effect state

Source