Skip to content
ct

Class

GameClockSpeedSlider

Generated GDScript class reference for CalendarTime.GameClockSpeedSlider.

Status
Current
Version
v2.0
Updated
Generated from GDScript addon source

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

Syntax

class GameClockSpeedSlider extends Slider

Members

NameKindSummary
slider_time_multipliersPropertySlider for controlling one GameClock's runtime speed multiplier. Keep this slider and its parent control in PROCESS_MODE_ALWAYS. If either is left to inherit pause mode, the UI can stop receiving input after the engine playback control pauses the SceneTree, leaving players unable to resume. Time speed values for ticks in the slider.
unpause_requestedEventEmitted 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_prefixProperty
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.
labelProperty
value_labelProperty
idxProperty
set_labelMethod
value_textProperty
CLOCK_SPEED_MULTIPLIERField
to_dictMethod
dictProperty
from_dictMethod
saved_scaleProperty
idxProperty
current_speedProperty
multiplier_idxProperty