class

PointClickEngine::Graphics::Effects::ObjectEffects::HighlightEffect

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

Adds a highlight effect to objects (glow, outline, or color overlay)

Constructors

new(highlight_type : HighlightType = HighlightType::Glow, color : RL::Color = RL::YELLOW, duration : Float32 = 0.0_f32)
Source

Instance methods

apply(context : EffectContext)

Apply effect to target (implemented by subclasses)

Source
color
Source
color=(color : RL::Color)
Source
highlight_type
Source
highlight_type=(highlight_type : HighlightType)
Source
pulse_speed
Source
pulse_speed=(pulse_speed : Float32)
Source
radius
Source
radius=(radius : Float32)
Source
thickness
Source
thickness=(thickness : Float32)
Source
update(dt : Float32)

Update effect state

Source

Nested types