PointClickEngine::Graphics::Effects::SceneEffects::SmokeEffect
Inherits PointClickEngine::Graphics::Effects::SceneEffects::BaseSceneEffect < PointClickEngine::Graphics::Effects::Effect < Reference < Object
Smoke/dust particle effect
Constructors
new(particle_count : Int32 = 30, duration : Float32 = 0.0_f32)
SourceInstance methods
apply_to_layer(context : EffectContext, layer : Layers::Layer)
Apply effect to a specific layer
color
Sourcecolor=(color : RL::Color)
Sourcedraw_overlay(renderer : PointClickEngine::Graphics::Renderer, viewport_width : Int32, viewport_height : Int32)
Sourceparticle_count
Sourceparticle_count=(particle_count : Int32)
Sourcerise_speed
Sourcerise_speed=(rise_speed : Float32)
Sourcespawn_position
Sourcespawn_position=(spawn_position : RL::Vector2 | Nil)
Sourcespread
Sourcespread=(spread : Float32)
Source