SO3Engine
|
SO3Light.cpp
Go to the documentation of this file.
15 SLight::SLight(SScene* parent, const std::string& lightName) : SNode(parent, lightName, SNode::LIGHT_TYPE_ID)
20 UpdateShadowFarClipDistance(currentScene->O3SceneManager->getShadowDirectionalLightExtrusionDistance());
172 void SLight::SetAttenuation(const float& range, const float& constant, const float& linear, const float& quadratic)
static Ogre::ColourValue ScolToOgreColorRGBA(const int &scolColor)
Definition SO3ConversionTools.cpp:126
static int OgreToScolColorRGBA(const Ogre::ColourValue &ogreColor)
Definition SO3ConversionTools.cpp:115
virtual void SetRenderingDistance(const float &distance)
Definition SO3Light.cpp:286
void SetAttenuation(const float &range, const float &constant, const float &linear, const float &quadratic)
Definition SO3Light.cpp:172
void SetSpotlightInnerAngle(const float &radianAngle)
Definition SO3Light.cpp:230
virtual void SetCastShadows(const bool &castShadows)
Definition SO3Light.cpp:272
void SetDiffuseColour(const int &diffuseColor)
Definition SO3Light.cpp:116
void SetSpotlightOuterAngle(const float &radianAngle)
Definition SO3Light.cpp:240
void SetShadowFarDistance(const float &distance)
Definition SO3Light.cpp:195
virtual Ogre::Vector3 GetBoundingBoxCenter(const bool &childs=false)
Definition SO3Light.cpp:304
virtual Ogre::Vector3 GetWorldBoundingBoxSize(const bool &childs=false)
Definition SO3Light.cpp:309
void SetSpotlightFalloff(const float &value)
Definition SO3Light.cpp:251
void UpdateShadowFarDistance(const float &distance)
Definition SO3Light.cpp:201
void SetSpecularColour(const int &specularColor)
Definition SO3Light.cpp:127
virtual Ogre::Vector3 GetBoundingBoxSize(const bool &childs=false)
Definition SO3Light.cpp:296
void UpdateShadowFarClipDistance(const float &distance)
Definition SO3Light.cpp:207
virtual Ogre::Vector3 GetWorldBoundingBoxCenter(const bool &childs=false)
Definition SO3Light.cpp:317
void SetLightClipping(float nearClip, float farClip)
Definition SO3LightShaft.cpp:270
void SetAttenuation(Ogre::Vector4 attenuation)
Definition SO3LightShaft.cpp:300
Definition SO3NodeScol.h:43
Ogre::Vector3 GetSonsWorldBoundingBox()
Definition SO3NodeScol.cpp:508
Definition SO3Scene.h:125
void SetShadowType(const SShadowManager::ShadowType &shadowType)
Definition SO3Scene.cpp:1433
Ogre::SceneManager * GetOgreScenePointer()
Definition SO3Scene.cpp:449
Definition SO3DataScol.h:38
Generated by 1.9.8