class

PointClickEngine::Graphics::Effects::ObjectEffects::PulseEffect

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

Makes objects pulse/breathe by scaling them rhythmically

Constructors

new(scale_amount : Float32 = 0.1_f32, speed : Float32 = 2.0_f32, duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply effect to target (implemented by subclasses)

Source
easing
Source
easing=(easing : EasingType)
Source
reset

Reset effect to start

Source
scale_amount
Source
scale_amount=(scale_amount : Float32)
Source
speed
Source
speed=(speed : Float32)
Source
update(dt : Float32)

Update effect state

Source

Nested types