SO3Engine
Public Member Functions | Protected Attributes | List of all members
SO3::SLightShaft Class Reference

#include <SO3LightShaft.h>

Inheritance diagram for SO3::SLightShaft:

Public Member Functions

 SLightShaft (SNode *parent, float minStep=0.2f, float nearClip=1.0f, float farClip=50.0f, Ogre::Radian fov=Ogre::Degree(17.5f))
 
 ~SLightShaft ()
 
void SetMinStep (const float minStep)
 
void SetCookieTexture (std::string path)
 
void SetLightClipping (float nearClip, float farClip)
 
void SetAttenuation (Ogre::Vector4 attenuation)
 
void SetLightFov (Ogre::Radian fov)
 
void SetColor (Ogre::ColourValue col)
 
void Update ()
 
virtual Ogre::Technique * handleSchemeNotFound (unsigned short schemeIndex, const Ogre::String &schemeName, Ogre::Material *originalMaterial, unsigned short lodIndex, const Ogre::Renderable *rend)
 

Protected Attributes

SScenecurrentScene
 
Ogre::SceneManager * mSceneMgr
 

Detailed Description

Definition at line 42 of file SO3LightShaft.h.

Constructor & Destructor Documentation

◆ SLightShaft()

SLightShaft::SLightShaft ( SNode parent,
float  minStep = 0.2f,
float  nearClip = 1.0f,
float  farClip = 50.0f,
Ogre::Radian  fov = Ogre::Degree(17.5f) 
)

Constructor.

Definition at line 20 of file SO3LightShaft.cpp.

◆ ~SLightShaft()

SLightShaft::~SLightShaft ( )

Destructor.

Definition at line 91 of file SO3LightShaft.cpp.

Member Function Documentation

◆ handleSchemeNotFound()

Ogre::Technique * SLightShaft::handleSchemeNotFound ( unsigned short  schemeIndex,
const Ogre::String &  schemeName,
Ogre::Material *  originalMaterial,
unsigned short  lodIndex,
const Ogre::Renderable *  rend 
)
virtual

Definition at line 126 of file SO3LightShaft.cpp.

◆ SetAttenuation()

void SLightShaft::SetAttenuation ( Ogre::Vector4  attenuation)

Definition at line 300 of file SO3LightShaft.cpp.

◆ SetColor()

void SLightShaft::SetColor ( Ogre::ColourValue  col)

Definition at line 312 of file SO3LightShaft.cpp.

◆ SetCookieTexture()

void SLightShaft::SetCookieTexture ( std::string  path)

Definition at line 266 of file SO3LightShaft.cpp.

◆ SetLightClipping()

void SLightShaft::SetLightClipping ( float  nearClip,
float  farClip 
)

Definition at line 270 of file SO3LightShaft.cpp.

◆ SetLightFov()

void SLightShaft::SetLightFov ( Ogre::Radian  fov)

Definition at line 306 of file SO3LightShaft.cpp.

◆ SetMinStep()

void SLightShaft::SetMinStep ( const float  minStep)

Definition at line 260 of file SO3LightShaft.cpp.

◆ Update()

void SLightShaft::Update ( )

Definition at line 220 of file SO3LightShaft.cpp.

Member Data Documentation

◆ currentScene

SScene* SO3::SLightShaft::currentScene
protected

Definition at line 46 of file SO3LightShaft.h.

◆ mSceneMgr

Ogre::SceneManager* SO3::SLightShaft::mSceneMgr
protected

Definition at line 47 of file SO3LightShaft.h.


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