Skip to content

Class

GameClockSpeedSlider

Generated GDScript class reference for CalendarTime.GameClockSpeedSlider.

Status
Current
Version
v2.1.0
Source updated
2026-08-09
Generated on
2026-09-01

Slider for one GameClock's runtime speed multiplier. Keep this slider and parent in PROCESS_MODE_ALWAYS. Inherited pause mode can block input after engine playback pauses the tree.

Source: addons/calendar_time/ui/time_speed/game_clock_speed_slider.gd

Syntax

class GameClockSpeedSlider extends Slider

Members

NameKindSummary
slider_time_multipliersPropertyTime speed values for ticks in the slider.
unpause_requestedSignalEmitted when this control resumes the SceneTree. Demo UI can use this to let the engine playback control restore its last running speed and visual label.
speed_prefixPropertyPrefix label shown before the clock speed value.
unpause_tree_on_speed_changePropertySelecting any non-paused clock speed resumes the SceneTree by default so the calendar-speed control can act as a visible resume control in the demo.
clockPropertyClock whose timeline is controlled. This intentionally does not touch Engine.time_scale.
labelPropertyDescribes the current speed selection on this label.
value_labelPropertyShows the speed slider's numeric value on this label.
set_labelMethod
CLOCK_SPEED_MULTIPLIERFieldClock speed multiplier is serialized under this key.
to_dictMethod
from_dictMethod