Chris' Tutorials
Docs/Calendar Time

Class

TimeDial

Generated GDScript class reference for CalendarTime.TimeDial.

StatusCurrent
Versionv2.0
UpdatedGenerated from GDScript addon source
Source note:This page rendered plugin-owned docs or generated metadata inside unified Astro docs shell.

Source: addons/calendar_time/ui/time_dial.gd

Syntax

class TimeDial extends Control

Members

NameKindSummary
clockPropertyDisplays the current time of day by rotating a handle control. The default range maps midnight to the left side (270 degrees), noon to the top (360 degrees), and the end of day to the right side (450 degrees). These values match the bundled `time_dial/handle.png`, whose unrotated art points visually up. If your custom pointer art points another direction at 0 degrees, adjust start/end handle rotation values to align it.
startPropertyTime where the dial starts moving from.
endPropertyTime where the dial reaches the end of its visual range.
clamp_to_rangePropertyClamp times outside the shown range to the start/end rotations.
start_handle_rotation_degreesPropertyHandle rotation at start time. For the bundled handle PNG this visually points left because the unrotated image points up.
end_handle_rotation_degreesPropertyHandle rotation at end time. For the bundled handle PNG this visually points right after sweeping across the upper half of the dial.
clockwisePropertytrue sweeps clockwise as ratio increases; false sweeps counter-clockwise.
handlePropertyHandle texture control rotated to point at the current hour.
update_handleMethod
time_scaleProperty
seconds_per_dayProperty
dial_secondsProperty
start_secondsProperty
time_past_startProperty
ratioProperty
aProperty
bProperty
tmpProperty
tmpProperty

Source

addons/calendar_time/ui/time_dial.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs