Table of Contents

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

float

Dusk

If true, its currently dusk at the players current location

bool Dusk { get; }

Property Value

bool

MoonLightStrength

Returns a value between 0 (no sunlight) and 1 (full sunlight) at the players current location

float MoonLightStrength { get; }

Property Value

float

MoonPosition

Returns a vector of the moon position at the players current location

Vec3f MoonPosition { get; }

Property Value

Vec3f

ReflectColor

Vec3f ReflectColor { get; }

Property Value

Vec3f

SunColor

Returns a normalized color of the sun at the players current location

Vec3f SunColor { get; }

Property Value

Vec3f

SunLightStrength

float SunLightStrength { get; }

Property Value

float

SunPosition

Returns a vector of the sun position at the players current location

Vec3f SunPosition { get; }

Property Value

Vec3f

SunPositionNormalized

Returns a normalized vector of the sun position at the players current location

Vec3f SunPositionNormalized { get; }

Property Value

Vec3f

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; }

Property Value

float