class

PointClickEngine::Graphics::Effects::SceneEffects::FogLayer

Inherits Reference < Object

Individual fog layer for parallax effect

Constructors

new(depth : Float32, opacity : Float32, speed_multiplier : Float32)
Source

Instance methods

depth
Source
depth=(depth : Float32)
Source
draw(width : Int32, height : Int32, base_offset : Float32, color : RL::Color, density : Float32)
Source
offset
Source
offset=(offset : Float32)
Source
opacity
Source
opacity=(opacity : Float32)
Source
speed_multiplier
Source
speed_multiplier=(speed_multiplier : Float32)
Source
update(dt : Float32)
Source