RigsofRods
Soft-body Physics Simulation
Public Member Functions | Data Fields
SkyX::AtmosphereManager::Options Struct Reference

Atmosphere options. More...

#include <AtmosphereManager.h>

Public Member Functions

 Options ()
 Default constructor. More...
 
 Options (const Ogre::Real &_InnerRadius, const Ogre::Real &_OuterRadius, const Ogre::Real &_HeightPosition, const Ogre::Real &_RayleighMultiplier, const Ogre::Real &_MieMultiplier, const Ogre::Real &_SunIntensity, const Ogre::Vector3 &_WaveLength, const Ogre::Real &_G, const Ogre::Real &_Exposure, const int &_NumerOfSamples)
 Constructor. More...
 

Data Fields

Ogre::Real InnerRadius
 Inner atmosphere radius. More...
 
Ogre::Real OuterRadius
 Outer atmosphere radius. More...
 
Ogre::Real HeightPosition
 Height position, in [0, 1] range, 0=InnerRadius, 1=OuterRadius. More...
 
Ogre::Real RayleighMultiplier
 Rayleigh multiplier. More...
 
Ogre::Real MieMultiplier
 Mie multiplier. More...
 
Ogre::Real SunIntensity
 Sun intensity. More...
 
Ogre::Vector3 WaveLength
 WaveLength for RGB channels. More...
 
Ogre::Real G
 Phase function. More...
 
Ogre::Real Exposure
 Exposure coeficient. More...
 
int NumberOfSamples
 Number of samples. More...
 

Detailed Description

Atmosphere options.

Definition at line 39 of file AtmosphereManager.h.

Constructor & Destructor Documentation

◆ Options() [1/2]

SkyX::AtmosphereManager::Options::Options ( )
inline

Default constructor.

Definition at line 69 of file AtmosphereManager.h.

◆ Options() [2/2]

SkyX::AtmosphereManager::Options::Options ( const Ogre::Real &  _InnerRadius,
const Ogre::Real &  _OuterRadius,
const Ogre::Real &  _HeightPosition,
const Ogre::Real &  _RayleighMultiplier,
const Ogre::Real &  _MieMultiplier,
const Ogre::Real &  _SunIntensity,
const Ogre::Vector3 &  _WaveLength,
const Ogre::Real &  _G,
const Ogre::Real &  _Exposure,
const int &  _NumerOfSamples 
)
inline

Constructor.

Parameters
_InnerRadiusInner atmosphere radius
_OuterRadiusOuter atmosphere radius
_HeightPositionHeight position, in [0, 1] range, 0=InnerRadius, 1=OuterRadius
_RayleighMultiplierRayleigh multiplier
_MieMultiplierMie multiplier
_SunIntensitySun intensity
_WaveLengthWave length for RGB channels
_GPhase function
_ExposureExposure
_NumerOfSamplesNumber of samples

Definition at line 95 of file AtmosphereManager.h.

Field Documentation

◆ Exposure

Ogre::Real SkyX::AtmosphereManager::Options::Exposure

Exposure coeficient.

Definition at line 62 of file AtmosphereManager.h.

◆ G

Ogre::Real SkyX::AtmosphereManager::Options::G

Phase function.

Definition at line 59 of file AtmosphereManager.h.

◆ HeightPosition

Ogre::Real SkyX::AtmosphereManager::Options::HeightPosition

Height position, in [0, 1] range, 0=InnerRadius, 1=OuterRadius.

Definition at line 46 of file AtmosphereManager.h.

◆ InnerRadius

Ogre::Real SkyX::AtmosphereManager::Options::InnerRadius

Inner atmosphere radius.

Definition at line 42 of file AtmosphereManager.h.

◆ MieMultiplier

Ogre::Real SkyX::AtmosphereManager::Options::MieMultiplier

Mie multiplier.

Definition at line 51 of file AtmosphereManager.h.

◆ NumberOfSamples

int SkyX::AtmosphereManager::Options::NumberOfSamples

Number of samples.

Definition at line 65 of file AtmosphereManager.h.

◆ OuterRadius

Ogre::Real SkyX::AtmosphereManager::Options::OuterRadius

Outer atmosphere radius.

Definition at line 44 of file AtmosphereManager.h.

◆ RayleighMultiplier

Ogre::Real SkyX::AtmosphereManager::Options::RayleighMultiplier

Rayleigh multiplier.

Definition at line 49 of file AtmosphereManager.h.

◆ SunIntensity

Ogre::Real SkyX::AtmosphereManager::Options::SunIntensity

Sun intensity.

Definition at line 53 of file AtmosphereManager.h.

◆ WaveLength

Ogre::Vector3 SkyX::AtmosphereManager::Options::WaveLength

WaveLength for RGB channels.

Definition at line 56 of file AtmosphereManager.h.


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