SuperTuxKart
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SunNode Class Reference
Inheritance diagram for SunNode:
Inheritance graph
[legend]

Public Member Functions

 SunNode (scene::ISceneManager *mgr, scene::ISceneNode *parent, float r, float g, float b)
 
virtual void render () OVERRIDE
 
virtual bool isPointLight () OVERRIDE
 
- Public Member Functions inherited from LightNode
 LightNode (scene::ISceneManager *mgr, scene::ISceneNode *parent, float energy, float d, float r, float g, float b)
 
virtual void render () OVERRIDE
 
virtual const core::aabbox3d< f32 > & getBoundingBox () const OVERRIDE
 
virtual void OnRegisterSceneNode () OVERRIDE
 
virtual u32 getMaterialCount () const OVERRIDE
 
virtual bool isPointLight ()
 
float getRadius () const
 
float getEnergy () const
 
float getEffectiveEnergy () const
 
core::vector3df getColor () const
 
void setColor (float r, float g, float b)
 
float getEnergyMultiplier () const
 
void setEnergyMultiplier (float newval)
 
void setEnergy (float energy)
 
void setRadius (float radius)
 

Additional Inherited Members

- Protected Attributes inherited from LightNode
float m_radius
 
float m_color [3]
 
float m_energy
 
float m_energy_multiplier
 The energy multiplier is in range [0, 1] and is used to fade in lights when they come in range.
 
- Static Protected Attributes inherited from LightNode
static core::aabbox3df box
 

Member Function Documentation

◆ isPointLight()

virtual bool SunNode::isPointLight ( )
inlinevirtual

Reimplemented from LightNode.

◆ render()

void SunNode::render ( )
virtual

Reimplemented from LightNode.


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