Luanti 5.10.0-dev
 
Loading...
Searching...
No Matches
SkyboxDefaults Class Reference

#include <skyparams.h>

Public Member Functions

 SkyboxDefaults ()=delete
 

Static Public Member Functions

static const SkyboxParams getSkyDefaults ()
 
static const SkyColor getSkyColorDefaults ()
 
static const SunParams getSunDefaults ()
 
static const MoonParams getMoonDefaults ()
 
static const StarParams getStarDefaults ()
 
static const CloudParams getCloudDefaults ()
 

Constructor & Destructor Documentation

◆ SkyboxDefaults()

SkyboxDefaults::SkyboxDefaults ( )
delete

Member Function Documentation

◆ getCloudDefaults()

static const CloudParams SkyboxDefaults::getCloudDefaults ( )
inlinestatic

References CloudParams::color_ambient, CloudParams::color_bright, CloudParams::color_shadow, CloudParams::density, CloudParams::height, CloudParams::speed, and CloudParams::thickness.

Referenced by Clouds::Clouds(), RemotePlayer::RemotePlayer(), and ObjectRef::l_set_clouds().

+ Here is the caller graph for this function:

◆ getMoonDefaults()

static const MoonParams SkyboxDefaults::getMoonDefaults ( )
inlinestatic

References MoonParams::scale, MoonParams::texture, MoonParams::tonemap, and MoonParams::visible.

Referenced by RemotePlayer::RemotePlayer(), Sky::Sky(), Client::handleCommand_HudSetSky(), and ObjectRef::l_set_moon().

+ Here is the caller graph for this function:

◆ getSkyColorDefaults()

static const SkyColor SkyboxDefaults::getSkyColorDefaults ( )
inlinestatic

References SkyColor::dawn_horizon, SkyColor::dawn_sky, SkyColor::day_horizon, SkyColor::day_sky, SkyColor::indoors, SkyColor::night_horizon, and SkyColor::night_sky.

Referenced by getSkyDefaults(), and Client::handleCommand_HudSetSky().

+ Here is the caller graph for this function:

◆ getSkyDefaults()

static const SkyboxParams SkyboxDefaults::getSkyDefaults ( )
inlinestatic

References SkyboxParams::bgcolor, SkyboxParams::clouds, SkyboxParams::fog_color, SkyboxParams::fog_moon_tint, SkyboxParams::fog_sun_tint, SkyboxParams::fog_tint_type, getSkyColorDefaults(), SkyboxParams::sky_color, and SkyboxParams::type.

Referenced by RemotePlayer::RemotePlayer(), Sky::Sky(), and ObjectRef::l_set_sky().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getStarDefaults()

static const StarParams SkyboxDefaults::getStarDefaults ( )
inlinestatic

References StarParams::count, StarParams::day_opacity, StarParams::scale, StarParams::starcolor, and StarParams::visible.

Referenced by RemotePlayer::RemotePlayer(), Sky::Sky(), Client::handleCommand_HudSetSky(), Client::handleCommand_HudSetStars(), and ObjectRef::l_set_stars().

+ Here is the caller graph for this function:

◆ getSunDefaults()

static const SunParams SkyboxDefaults::getSunDefaults ( )
inlinestatic

References SunParams::scale, SunParams::sunrise, SunParams::sunrise_visible, SunParams::texture, SunParams::tonemap, and SunParams::visible.

Referenced by RemotePlayer::RemotePlayer(), Sky::Sky(), Client::handleCommand_HudSetSky(), and ObjectRef::l_set_sun().

+ Here is the caller graph for this function:

The documentation for this class was generated from the following file: