Public Member Functions | Public Attributes
Ogre::SceneManager::LightInfo Struct Reference

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

#include <OgreSceneManager.h>

List of all members.

Public Member Functions

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

Public Attributes

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

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

Definition at line 525 of file OgreSceneManager.h.

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

Light mask.

Definition at line 519 of file OgreSceneManager.h.

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


Member Data Documentation

Definition at line 513 of file OgreSceneManager.h.

Referenced by operator==().

Sets to zero if directional light.

Definition at line 517 of file OgreSceneManager.h.

Referenced by operator==().

Sets to zero if directional light.

Definition at line 516 of file OgreSceneManager.h.

Referenced by operator==().

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

Definition at line 515 of file OgreSceneManager.h.

Referenced by operator==().

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:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jul 27 2020 13:41:36