AngeliA
Search Results for

    Show / Hide Table of Contents

    Class Sky

    Core system handles background rendering of the game

    Properties

    GradientBottom

    Gradient for "SkyTintBottomColor" along in-game time

    Declaration
    public static ColorGradient GradientBottom { get; set; }

    GradientTop

    Gradient for "SkyTintTopColor" along in-game time

    Declaration
    public static ColorGradient GradientTop { get; set; }

    InGameDaytime01

    Current in-game time (0 means 0:00. 0.5 means 12:00. 1 means 24:00)

    Declaration
    public static float InGameDaytime01 { get; }

    SkyTintBottomColor

    Bottom color of the sky liner gradient

    Declaration
    public static Color32 SkyTintBottomColor { get; }

    SkyTintTopColor

    Top color of the sky liner gradient

    Declaration
    public static Color32 SkyTintTopColor { get; }

    SunlightTint

    Gradient for "SunlightTintColor" along in-game time

    Declaration
    public static ColorGradient SunlightTint { get; set; }

    SunlightTintColor

    Tint color for day-light

    Declaration
    public static Color32 SunlightTintColor { get; }

    Methods

    ForceSkyboxTint(Color32, Color32, int)

    Make top and bottom sky tint gradient color into given colors for specified frames long

    Declaration
    public static void ForceSkyboxTint(Color32 top, Color32 bottom, int duration = 1)

    ForceSkyboxTint(Color32, int)

    Make both top and bottom sky tint gradient color into given color for specified frames long

    Declaration
    public static void ForceSkyboxTint(Color32 color, int duration = 1)

    GetInGameDaytimeFromRealTime()

    Get in-game time from current date time in real world

    Declaration
    public static float GetInGameDaytimeFromRealTime()
    Returns
    Type Description
    float

    (0 means 0:00. 0.5 means 12:00. 1 means 24:00)

    SetInGameDaytime(float)

    Set current in-game time. (0 means 0:00. 0.5 means 12:00. 1 means 24:00. -1 means real world time)

    Declaration
    public static void SetInGameDaytime(float newDaytime01)
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค