Thrive
Public Attributes | List of all members
thrive::OgreLightComponent::Properties Struct Reference

Properties. More...

#include <light_system.h>

Inheritance diagram for thrive::OgreLightComponent::Properties:
thrive::Touchable

Public Attributes

Ogre::Real attenuationConstant = 1.0f
 Attenuation constant factor.
 
Ogre::Real attenuationLinear = 0.5f
 Attenuation linear factor.
 
Ogre::Real attenuationQuadratic = 0.75f
 Attenuation quadratic factor.
 
Ogre::Real attenuationRange = 10.0f
 Attenuation range.
 
Ogre::ColourValue diffuseColour = Ogre::ColourValue::White
 The diffuse colour. More...
 
Ogre::ColourValue specularColour = Ogre::ColourValue::White
 The specular colour. More...
 
Ogre::Real spotlightFalloff = 1.0f
 Spotlight falloff.
 
Ogre::Degree spotlightInnerAngle = Ogre::Degree(30)
 Spotlight inner angle.
 
Ogre::Real spotlightNearClipDistance = 10.0f
 Spotlight near clip distance.
 
Ogre::Degree spotlightOuterAngle = Ogre::Degree(60)
 Spotlight outer angle.
 
Ogre::Light::LightTypes type = Ogre::Light::LT_POINT
 The light's type. More...
 

Additional Inherited Members

- Public Member Functions inherited from thrive::Touchable
bool hasChanges () const
 Whether this Touchable has unapplied changes.
 
void touch ()
 Marks the Touchable as changed.
 
void untouch ()
 Marks all changes as applied.
 
- Static Public Member Functions inherited from thrive::Touchable
static luabind::scope luaBindings ()
 Lua bindings. More...
 

Detailed Description

Properties.

Member Data Documentation

Ogre::ColourValue thrive::OgreLightComponent::Properties::diffuseColour = Ogre::ColourValue::White

The diffuse colour.

Defaults to white.

Ogre::ColourValue thrive::OgreLightComponent::Properties::specularColour = Ogre::ColourValue::White

The specular colour.

Defaults to white.

Ogre::Light::LightTypes thrive::OgreLightComponent::Properties::type = Ogre::Light::LT_POINT

The light's type.

Can be

  • Ogre::Light::LT_POINT (the default)
  • Ogre::Light::LT_DIRECTIONAL
  • Ogre::Light::LT_SPOTLIGHT

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