Interface IClientGameCalendar
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public interface IClientGameCalendar : IGameCalendar
- Inherited Members
- Extension Methods
Properties
DayLightStrength
Returns a value between 0 (no sunlight) and 1 (full sunlight) at the players current location
float DayLightStrength { get; }
Property Value
Dusk
If true, its currently dusk at the players current location
bool Dusk { get; }
Property Value
MoonLightStrength
Returns a value between 0 (no sunlight) and 1 (full sunlight) at the players current location
float MoonLightStrength { get; }
Property Value
MoonPosition
Returns a vector of the moon position at the players current location
Vec3f MoonPosition { get; }
Property Value
ReflectColor
Vec3f ReflectColor { get; }
Property Value
SunColor
Returns a normalized color of the sun at the players current location
Vec3f SunColor { get; }
Property Value
SunLightStrength
float SunLightStrength { get; }
Property Value
SunPosition
Returns a vector of the sun position at the players current location
Vec3f SunPosition { get; }
Property Value
SunPositionNormalized
Returns a normalized vector of the sun position at the players current location
Vec3f SunPositionNormalized { get; }
Property Value
SunsetMod
A horizontal offset that is applied when reading the sky glow color at the players current location. Creates a greater variety of sunsets. Changes to a different value once per day (during midnight)
float SunsetMod { get; }