PointClickEngine::Graphics::Layers::BackgroundLayer
Inherits PointClickEngine::Graphics::Layers::Layer < Reference < Object
Specialized background layer with additional features
Constructors
new(name : String, texture_path : String | Nil = nil)
SourceInstance methods
background_texture
Sourcebackground_texture=(background_texture : RL::Texture2D | Nil)
Sourcecleanup
Sourcedraw_background(viewport_width : Int32, viewport_height : Int32)
Sourcescroll_speed
Sourcescroll_speed=(scroll_speed : RL::Vector2)
Sourcetile_mode
Sourcetile_mode=(tile_mode : TileMode)
Source