PointClickEngine::Graphics::Effects::SceneEffects::FogLayer
Inherits Reference < Object
Individual fog layer for parallax effect
Constructors
new(depth : Float32, opacity : Float32, speed_multiplier : Float32)
SourceInstance methods
depth
Sourcedepth=(depth : Float32)
Sourcedraw(width : Int32, height : Int32, base_offset : Float32, color : RL::Color, density : Float32)
Sourceoffset
Sourceoffset=(offset : Float32)
Sourceopacity
Sourceopacity=(opacity : Float32)
Sourcespeed_multiplier
Sourcespeed_multiplier=(speed_multiplier : Float32)
Sourceupdate(dt : Float32)
Source