Chris' Tutorials
Docs/Calendar Time

Class

TimeOfDayDirectionalLight2D

Generated GDScript class reference for CalendarTime.TimeOfDayDirectionalLight2D.

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/game_time/lighting/time_of_day_directional_light_2d.gd

Syntax

class TimeOfDayDirectionalLight2D extends DirectionalLight2D

Members

NameKindSummary
clockPropertyTransitions between light settings when times of day switches on the day-night service
lighting_groupPropertyThe settings group defining what light settings should be at given time of days
transition_curvePropertyOptional. The amount transitioned between light settings against time percent done during the transition.
print_debugPropertyWhether to print extra debug messages to console (should only be used for debugging)
transition_progressPropertyThe progress that controls how far along the light values are in switching from the last time of day to the current one. transition_progress.progress is represented between 0.0 and 1.0
current_settingsProperty
last_settingsProperty
start_light_transitionMethod
get_lighting_settingMethod
set_current_light_valuesMethod
adjusted_progressProperty
get_progress_colorMethod
validateMethod
problemsProperty
problemsProperty
problemsProperty

Source

addons/calendar_time/game_time/lighting/time_of_day_directional_light_2d.gd

Plugin docs root:gdscript/plugins/calendar_time_dev/docs