Skip to content
ct

Class

TimeOfDayDirectionalLight2D

Generated GDScript class reference for CalendarTime.TimeOfDayDirectionalLight2D.

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

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
dtProperty
logicProperty
todProperty
prev_todProperty
progressProperty
start_light_transitionMethod
get_lighting_settingMethod
set_current_light_valuesMethod
adjusted_progressProperty
get_progress_colorMethod
validateMethod
problemsProperty
problemsProperty
problemsProperty