#include <OgreAtmosphereNpr.h>
|  | 
|  | Preset () | 
|  | 
| void | lerp (const Preset &a, const Preset &b, const float w) | 
|  | Sets this = lerp( a, b, w ); where: a = lerp( a, b, 0 ); b = lerp( a, b, 1 );. 
 | 
|  | 
| bool | operator() (const float a, const Preset &b) const | 
|  | 
| bool | operator() (const Preset &a, const float b) const | 
|  | 
| bool | operator() (const Preset &a, const Preset &b) const | 
|  | 
◆ Preset()
  
  | 
        
          | Ogre::AtmosphereNpr::Preset::Preset | ( |  | ) |  |  | inline | 
 
 
◆ lerp()
      
        
          | void Ogre::AtmosphereNpr::Preset::lerp | ( | const Preset & | a, | 
        
          |  |  | const Preset & | b, | 
        
          |  |  | const float | w | 
        
          |  | ) |  |  | 
      
 
Sets this = lerp( a, b, w ); where: a = lerp( a, b, 0 ); b = lerp( a, b, 1 );. 
'time' is interpolated in a special manner to wrap around in range [-1; 1]. Thus if a.time > b.time, then we wrap around so that: time = lerp( 0.8, -0.8, 0.25 ) = 0.9 time = lerp( 0.8, -0.8, 0.50 ) = Either 1.0 or -1.0 time = lerp( 0.8, -0.8, 0.75 ) = -0.9 
 
 
◆ operator()() [1/3]
  
  | 
        
          | bool Ogre::AtmosphereNpr::Preset::operator() | ( | const float | a, |  
          |  |  | const Preset & | b |  
          |  | ) |  | const |  | inline | 
 
 
◆ operator()() [2/3]
  
  | 
        
          | bool Ogre::AtmosphereNpr::Preset::operator() | ( | const Preset & | a, |  
          |  |  | const float | b |  
          |  | ) |  | const |  | inline | 
 
 
◆ operator()() [3/3]
  
  | 
        
          | bool Ogre::AtmosphereNpr::Preset::operator() | ( | const Preset & | a, |  
          |  |  | const Preset & | b |  
          |  | ) |  | const |  | inline | 
 
 
◆ densityCoeff
      
        
          | float Ogre::AtmosphereNpr::Preset::densityCoeff | 
      
 
 
◆ densityDiffusion
      
        
          | float Ogre::AtmosphereNpr::Preset::densityDiffusion | 
      
 
 
◆ envmapScale
      
        
          | float Ogre::AtmosphereNpr::Preset::envmapScale | 
      
 
 
◆ fogBreakFalloff
      
        
          | float Ogre::AtmosphereNpr::Preset::fogBreakFalloff | 
      
 
How fast bright objects appear in fog. 
Small values make objects appear very slowly after luminance > fogBreakMinBrightness Large values make objects appear very quickly
Range: (0; inf) 
 
 
◆ fogBreakMinBrightness
      
        
          | float Ogre::AtmosphereNpr::Preset::fogBreakMinBrightness | 
      
 
Very bright objects (i.e. 
reflect lots of light) manage to "breakthrough" the fog.
A value of fogBreakMinBrightness = 3 means that pixels that have a luminance of >= 3 (i.e. in HDR) will start becoming more visible
Range: [0; inf) 
 
 
◆ fogDensity
      
        
          | float Ogre::AtmosphereNpr::Preset::fogDensity | 
      
 
Affects objects' fog (not sky) 
 
 
◆ horizonLimit
      
        
          | float Ogre::AtmosphereNpr::Preset::horizonLimit | 
      
 
 
◆ linkedLightPower
      
        
          | float Ogre::AtmosphereNpr::Preset::linkedLightPower | 
      
 
Power scale for the linked light. 
 
 
◆ linkedSceneAmbientLowerPower
      
        
          | float Ogre::AtmosphereNpr::Preset::linkedSceneAmbientLowerPower | 
      
 
Power scale for the lower hemisphere ambient light. 
 
 
◆ linkedSceneAmbientUpperPower
      
        
          | float Ogre::AtmosphereNpr::Preset::linkedSceneAmbientUpperPower | 
      
 
Power scale for the upper hemisphere ambient light. 
 
 
◆ skyColour
◆ skyPower
      
        
          | float Ogre::AtmosphereNpr::Preset::skyPower | 
      
 
 
◆ sunPower
      
        
          | float Ogre::AtmosphereNpr::Preset::sunPower | 
      
 
 
◆ time
      
        
          | float Ogre::AtmosphereNpr::Preset::time | 
      
 
 
The documentation for this struct was generated from the following file: