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 ControlMembers
| Name | Kind | Summary |
|---|---|---|
clock | Property | Displays 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. |
start | Property | Time where the dial starts moving from. |
end | Property | Time where the dial reaches the end of its visual range. |
clamp_to_range | Property | Clamp times outside the shown range to the start/end rotations. |
start_handle_rotation_degrees | Property | Handle rotation at start time. For the bundled handle PNG this visually points left because the unrotated image points up. |
end_handle_rotation_degrees | Property | Handle rotation at end time. For the bundled handle PNG this visually points right after sweeping across the upper half of the dial. |
clockwise | Property | true sweeps clockwise as ratio increases; false sweeps counter-clockwise. |
handle | Property | Handle texture control rotated to point at the current hour. |
update_handle | Method | |
time_scale | Property | |
seconds_per_day | Property | |
dial_seconds | Property | |
start_seconds | Property | |
time_past_start | Property | |
ratio | Property | |
a | Property | |
b | Property | |
tmp | Property | |
tmp | Property |
Source
addons/calendar_time/ui/time_dial.gd
Plugin docs root:gdscript/plugins/calendar_time_dev/docs