CommonLibVR
RE::Sky Class Reference

#include <Sky.h>

Classes

struct  SkyStaticRefData
 

Public Types

enum class  Mode {
  kNone = 0 , kInterior , kSkyDomeOnly , kFull ,
  kTotal
}
 
enum class  Flags {
  kNone = 0 , kFastTravel = 1 << 4 , kHideSky = 1 << 7 , kUpdateSunriseBegin = 1 << 9 ,
  kUpdateSunriseEnd = 1 << 10 , kUpdateSunsetBegin = 1 << 11 , kUpdateSunsetEnd = 1 << 12 , kUpdateColorsSunriseBegin = 1 << 13 ,
  kUpdateColorsSunsetEnd = 1 << 14 , kUpdateWind = 1 << 20 , kReleaseWeatherOverride = 1 << 21
}
 

Public Member Functions

virtual ~Sky ()
 
float GetSunriseBegin ()
 
float GetSunriseEnd ()
 
float GetSunsetBegin ()
 
float GetSunsetEnd ()
 
void ForceWeather (TESWeather *a_weather, bool a_override)
 
bool IsRaining () const
 
bool IsSnowing () const
 
void ReleaseWeatherOverride ()
 
void ResetWeather ()
 
void SetWeather (TESWeather *a_weather, bool a_override, bool a_accelerate)
 

Static Public Member Functions

static SkyGetSingleton ()
 

Public Attributes

NiPointer< BSMultiBoundNoderoot
 
NiPointer< NiNodemoonsRoot
 
NiPointer< NiNodeauroraRoot
 
ModelDBHandle auroraModel
 
BGSLightingTemplateextLightingOverride
 
ObjectRefHandle currentRoom
 
ObjectRefHandle previousRoom
 
float lightingTransition
 
float lightingTransitionTimer
 
TESClimatecurrentClimate
 
TESWeathercurrentWeather
 
TESWeatherlastWeather
 
TESWeatherdefaultWeather
 
TESWeatheroverrideWeather
 
TESRegionregion
 
Atmosphereatmosphere
 
Starsstars
 
Sunsun
 
Cloudsclouds
 
Moonmasser
 
Moonsecunda
 
Precipitationprecip
 
NiColor skyColor [17]
 
std::uint32_t unk174
 
std::uint64_t unk178
 
NiColor unk180
 
float windSpeed
 
float windAngle
 
float fogNear
 
float fogFar
 
std::uint32_t unk19C
 
std::uint32_t unk1A0
 
std::uint32_t unk1A4
 
float fogPower
 
float fogClamp
 
float currentGameHour
 
float lastWeatherUpdate
 
float currentWeatherPct
 
stl::enumeration< Mode, std::uint32_t > mode
 
BSSimpleList< SkySound * > * skySoundList
 
float flash
 
std::uint32_t pad1CC
 
std::uint32_t flashTime
 
float windowReflectionTimer
 
std::uint32_t lastMoonPhaseUpdate
 
stl::enumeration< Flags, std::uint32_t > flags
 
ImageSpaceModifierInstanceFormcurrentWeatherImageSpaceMod
 
ImageSpaceModifierInstanceFormcurrentWeatherImageSpaceMod2
 
ImageSpaceModifierInstanceFormlastWeatherImageSpaceMod
 
ImageSpaceModifierInstanceFormlastWeatherImageSpaceMod2
 
NiColor directionalAmbientColors [3][2]
 
NiColor ambientSpecularTint
 
float ambientSpecularFresnel
 
float auroraInStart
 
float auroraIn
 
float auroraOutStart
 
float auroraOut
 
NiPointer< ReferenceEffectcurrentReferenceEffect
 
NiPointer< ReferenceEffectlastReferenceEffect
 
SkyEffectController effectController
 
BSTArray< NiPointer< NiTexture > > storedCloudTextures
 
BSTArray< NiPointer< NiTexture > > storedWorldMapCloudTextures
 
BSTArray< SkyStaticRefDataskyStaticRefData
 

Static Public Attributes

static constexpr auto RTTI = RTTI_Sky
 
static constexpr auto VTABLE = VTABLE_Sky
 

Member Enumeration Documentation

◆ Flags

enum RE::Sky::Flags
strong
Enumerator
kNone 
kFastTravel 
kHideSky 
kUpdateSunriseBegin 
kUpdateSunriseEnd 
kUpdateSunsetBegin 
kUpdateSunsetEnd 
kUpdateColorsSunriseBegin 
kUpdateColorsSunsetEnd 
kUpdateWind 
kReleaseWeatherOverride 

◆ Mode

enum RE::Sky::Mode
strong
Enumerator
kNone 
kInterior 
kSkyDomeOnly 
kFull 
kTotal 

Constructor & Destructor Documentation

◆ ~Sky()

virtual RE::Sky::~Sky ( )
virtual

Member Function Documentation

◆ ForceWeather()

void RE::Sky::ForceWeather ( TESWeather a_weather,
bool  a_override 
)

◆ GetSingleton()

static Sky* RE::Sky::GetSingleton ( )
static

◆ GetSunriseBegin()

float RE::Sky::GetSunriseBegin ( )

◆ GetSunriseEnd()

float RE::Sky::GetSunriseEnd ( )

◆ GetSunsetBegin()

float RE::Sky::GetSunsetBegin ( )

◆ GetSunsetEnd()

float RE::Sky::GetSunsetEnd ( )

◆ IsRaining()

bool RE::Sky::IsRaining ( ) const

◆ IsSnowing()

bool RE::Sky::IsSnowing ( ) const

◆ ReleaseWeatherOverride()

void RE::Sky::ReleaseWeatherOverride ( )

◆ ResetWeather()

void RE::Sky::ResetWeather ( )

◆ SetWeather()

void RE::Sky::SetWeather ( TESWeather a_weather,
bool  a_override,
bool  a_accelerate 
)

Member Data Documentation

◆ ambientSpecularFresnel

float RE::Sky::ambientSpecularFresnel

◆ ambientSpecularTint

NiColor RE::Sky::ambientSpecularTint

◆ atmosphere

Atmosphere* RE::Sky::atmosphere

◆ auroraIn

float RE::Sky::auroraIn

◆ auroraInStart

float RE::Sky::auroraInStart

◆ auroraModel

ModelDBHandle RE::Sky::auroraModel

◆ auroraOut

float RE::Sky::auroraOut

◆ auroraOutStart

float RE::Sky::auroraOutStart

◆ auroraRoot

NiPointer<NiNode> RE::Sky::auroraRoot

◆ clouds

Clouds* RE::Sky::clouds

◆ currentClimate

TESClimate* RE::Sky::currentClimate

◆ currentGameHour

float RE::Sky::currentGameHour

◆ currentReferenceEffect

NiPointer<ReferenceEffect> RE::Sky::currentReferenceEffect

◆ currentRoom

ObjectRefHandle RE::Sky::currentRoom

◆ currentWeather

TESWeather* RE::Sky::currentWeather

◆ currentWeatherImageSpaceMod

ImageSpaceModifierInstanceForm* RE::Sky::currentWeatherImageSpaceMod

◆ currentWeatherImageSpaceMod2

ImageSpaceModifierInstanceForm* RE::Sky::currentWeatherImageSpaceMod2

◆ currentWeatherPct

float RE::Sky::currentWeatherPct

◆ defaultWeather

TESWeather* RE::Sky::defaultWeather

◆ directionalAmbientColors

NiColor RE::Sky::directionalAmbientColors[3][2]

◆ effectController

SkyEffectController RE::Sky::effectController

◆ extLightingOverride

BGSLightingTemplate* RE::Sky::extLightingOverride

◆ flags

stl::enumeration<Flags, std::uint32_t> RE::Sky::flags

◆ flash

float RE::Sky::flash

◆ flashTime

std::uint32_t RE::Sky::flashTime

◆ fogClamp

float RE::Sky::fogClamp

◆ fogFar

float RE::Sky::fogFar

◆ fogNear

float RE::Sky::fogNear

◆ fogPower

float RE::Sky::fogPower

◆ lastMoonPhaseUpdate

std::uint32_t RE::Sky::lastMoonPhaseUpdate

◆ lastReferenceEffect

NiPointer<ReferenceEffect> RE::Sky::lastReferenceEffect

◆ lastWeather

TESWeather* RE::Sky::lastWeather

◆ lastWeatherImageSpaceMod

ImageSpaceModifierInstanceForm* RE::Sky::lastWeatherImageSpaceMod

◆ lastWeatherImageSpaceMod2

ImageSpaceModifierInstanceForm* RE::Sky::lastWeatherImageSpaceMod2

◆ lastWeatherUpdate

float RE::Sky::lastWeatherUpdate

◆ lightingTransition

float RE::Sky::lightingTransition

◆ lightingTransitionTimer

float RE::Sky::lightingTransitionTimer

◆ masser

Moon* RE::Sky::masser

◆ mode

stl::enumeration<Mode, std::uint32_t> RE::Sky::mode

◆ moonsRoot

NiPointer<NiNode> RE::Sky::moonsRoot

◆ overrideWeather

TESWeather* RE::Sky::overrideWeather

◆ pad1CC

std::uint32_t RE::Sky::pad1CC

◆ precip

Precipitation* RE::Sky::precip

◆ previousRoom

ObjectRefHandle RE::Sky::previousRoom

◆ region

TESRegion* RE::Sky::region

◆ root

NiPointer<BSMultiBoundNode> RE::Sky::root

◆ RTTI

constexpr auto RE::Sky::RTTI = RTTI_Sky
inlinestaticconstexpr

◆ secunda

Moon* RE::Sky::secunda

◆ skyColor

NiColor RE::Sky::skyColor[17]

◆ skySoundList

BSSimpleList<SkySound*>* RE::Sky::skySoundList

◆ skyStaticRefData

BSTArray<SkyStaticRefData> RE::Sky::skyStaticRefData

◆ stars

Stars* RE::Sky::stars

◆ storedCloudTextures

BSTArray<NiPointer<NiTexture> > RE::Sky::storedCloudTextures

◆ storedWorldMapCloudTextures

BSTArray<NiPointer<NiTexture> > RE::Sky::storedWorldMapCloudTextures

◆ sun

Sun* RE::Sky::sun

◆ unk174

std::uint32_t RE::Sky::unk174

◆ unk178

std::uint64_t RE::Sky::unk178

◆ unk180

NiColor RE::Sky::unk180

◆ unk19C

std::uint32_t RE::Sky::unk19C

◆ unk1A0

std::uint32_t RE::Sky::unk1A0

◆ unk1A4

std::uint32_t RE::Sky::unk1A4

◆ VTABLE

constexpr auto RE::Sky::VTABLE = VTABLE_Sky
inlinestaticconstexpr

◆ windAngle

float RE::Sky::windAngle

◆ windowReflectionTimer

float RE::Sky::windowReflectionTimer

◆ windSpeed

float RE::Sky::windSpeed

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