OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::SceneManager::LightInfo Struct Reference

Cached light information, used to tracking light's changes. More...

#include <OgreSceneManager.h>

+ Collaboration diagram for Ogre::SceneManager::LightInfo:

Public Member Functions

bool operator!= (const LightInfo &rhs) const
 
bool operator== (const LightInfo &rhs) const
 Light mask. More...
 

Public Attributes

Lightlight
 
uint32 lightMask
 Sets to zero if directional light. More...
 
Vector3 position
 Sets to zero if directional light. More...
 
Real range
 Use int instead of Light::LightTypes to avoid header file dependence. More...
 
int type
 Just a pointer for comparison, the light might destroyed for some reason. More...
 

Detailed Description

Cached light information, used to tracking light's changes.

Definition at line 511 of file OgreSceneManager.h.

Member Function Documentation

bool Ogre::SceneManager::LightInfo::operator!= ( const LightInfo rhs) const
inline

Definition at line 525 of file OgreSceneManager.h.

bool Ogre::SceneManager::LightInfo::operator== ( const LightInfo rhs) const
inline

Light mask.

Definition at line 519 of file OgreSceneManager.h.

References light, lightMask, position, range, and type.

Member Data Documentation

Light* Ogre::SceneManager::LightInfo::light

Definition at line 513 of file OgreSceneManager.h.

Referenced by operator==().

uint32 Ogre::SceneManager::LightInfo::lightMask

Sets to zero if directional light.

Definition at line 517 of file OgreSceneManager.h.

Referenced by operator==().

Vector3 Ogre::SceneManager::LightInfo::position

Sets to zero if directional light.

Definition at line 516 of file OgreSceneManager.h.

Referenced by operator==().

Real Ogre::SceneManager::LightInfo::range

Use int instead of Light::LightTypes to avoid header file dependence.

Definition at line 515 of file OgreSceneManager.h.

Referenced by operator==().

int Ogre::SceneManager::LightInfo::type

Just a pointer for comparison, the light might destroyed for some reason.

Definition at line 514 of file OgreSceneManager.h.

Referenced by operator==().


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