PointClickEngine::Graphics::Effects::SceneEffects::LightSource
Inherits Reference < Object
Light source for darkness effect
Constructors
new(position : RL::Vector2, radius : Float32, color : RL::Color, flicker : Bool = false)
SourceInstance methods
color
Sourcecolor=(color : RL::Color)
Sourcedraw(camera : PointClickEngine::Graphics::Camera)
Sourceenabled
Sourceenabled=(enabled : Bool)
Sourceflicker
Sourceflicker=(flicker : Bool)
Sourceposition
Sourceposition=(position : RL::Vector2)
Sourceradius
Sourceradius=(radius : Float32)
Sourceupdate(dt : Float32)
Source