Solar State
class SolarState
Single class containing all the information Kastro can calculate about Sol for a given instant of time. Contains the result of multiple calculations.
Properties
Link copied to clipboard
The atmospheric refraction of the Sun's light in degrees
Link copied to clipboard
Whether the Sun is rising or setting.
Link copied to clipboard
Whether the sun is HorizonState.Up or HorizonState.Down
Link copied to clipboard
The current active LightStates. There can be more than one active LightState at a time. For instance, LightState.GoldenHourDusk and LightState.BlueHourDusk intersect a bit, so it's possible to have both of those or neither. Can be empty.
Link copied to clipboard
The current SolarPhase. There can be only one active SolarPhase at a given time
Link copied to clipboard
The true altitude of the center of the sun above the horizon.