class

GSDL::HUDPerformance

Inherits GSDL::HUDElement < Reference < Object

Constructors

new(font = FontManager.default, font_size = FontManager.default_size, anchor : GSDL::Anchor = Anchor::TopLeft, offset_x : Float32 | Int32 = 20, offset_y : Float32 | Int32 = 20, color = ColorScheme.get(:ui_text), scale = 1_f32, h_align = HorizontalAlign::Left)
Source

Instance methods

color
Source
color=(color : Color)
Source
hud_draw(draw : Draw)
Source
hud_update(dt : Float32)
Source
origin
Source
origin=(origin : Tuple(Float32, Float32))
Source
scale
Source
scale=(scale : Tuple(Num, Num))
Source
text
Source
text=(text : String)
Source
z_index
Source
z_index=(z_index : Int32)
Source