PointClickEngine::Graphics::Effects::ObjectEffects::HighlightShader
Inherits PointClickEngine::Graphics::Effects::ShaderEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object
Shader-based highlight effect
Constructors
new(style : HighlightStyle = HighlightStyle::Outline, color : RL::Color = RL::Color.new(r: 255, g: 255, b: 0, a: 255), thickness : Float32 = 2.0_f32, duration : Float32 = 0.0_f32)
SourceClass methods
glow(color : RL::Color = RL::WHITE, intensity : Float32 = 2.0_f32)
Sourcepulse(color : RL::Color = RL::RED, speed : Float32 = 2.0_f32)
Sourcerainbow(thickness : Float32 = 2.0_f32)
Sourcerim_light(color : RL::Color = RL::WHITE, intensity : Float32 = 1.5_f32)
SourceInstance methods
clone
Sourcecolor
Sourcecolor=(color : RL::Color)
Sourceensure_render_texture(width : Int32, height : Int32)
Ensure render texture matches sprite size
glow_intensity
Sourceglow_intensity=(glow_intensity : Float32)
Sourcepulse_speed
Sourcepulse_speed=(pulse_speed : Float32)
Sourcestyle
Sourcestyle=(style : HighlightStyle)
Sourcethickness
Sourcethickness=(thickness : Float32)
Source