Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
orxonox::LensFlare::Lens Class Reference

This is a nested Class used to easily set properties of the different sublenses of a LensFlare effect. More...

Public Member Functions

 Lens (const std::string &material, float alpha, float scale, float position)
 

Public Attributes

float alpha_
 Which base alpha value should the Lens use. More...
 
std::string material_
 Which material should the Lens use, current choices include burst, bursthalo, halo1, halo2, halo3. More...
 
float position_
 This defines how far along the view direction the flare should be positioned, e.g. 0.5 would position the flare halfway between the viewer and the base burst, 0 at the camera, 1 at the burst. More...
 
float scale_
 Which base scale should the Lens Flare have. More...
 

Detailed Description

This is a nested Class used to easily set properties of the different sublenses of a LensFlare effect.

Constructor & Destructor Documentation

orxonox::LensFlare::Lens::Lens ( const std::string &  material,
float  alpha,
float  scale,
float  position 
)
inline

Member Data Documentation

float orxonox::LensFlare::Lens::alpha_

Which base alpha value should the Lens use.

std::string orxonox::LensFlare::Lens::material_

Which material should the Lens use, current choices include burst, bursthalo, halo1, halo2, halo3.

float orxonox::LensFlare::Lens::position_

This defines how far along the view direction the flare should be positioned, e.g. 0.5 would position the flare halfway between the viewer and the base burst, 0 at the camera, 1 at the burst.

float orxonox::LensFlare::Lens::scale_

Which base scale should the Lens Flare have.


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