Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members

irr::scene::ILightSceneNode Class Reference

Scene node which is a dynamic light. More...

#include <ILightSceneNode.h>

Inheritance diagram for irr::scene::ILightSceneNode:

irr::scene::ISceneNode irr::io::IAttributeExchangingObject irr::IReferenceCounted List of all members.

Public Member Functions

virtual video::SLightgetLightData ()=0
 Gets the light data associated with this ILightSceneNode.
virtual const video::SLightgetLightData () const =0
 Gets the light data associated with this ILightSceneNode.
 ILightSceneNode (ISceneNode *parent, ISceneManager *mgr, s32 id, const core::vector3df &position=core::vector3df(0, 0, 0))
 constructor
virtual void setLightData (const video::SLight &light)=0
 Sets the light data associated with this ILightSceneNode.

Detailed Description

Scene node which is a dynamic light.

You can switch the light on and off by making it visible or not. It can be animated by ordinary scene node animators. If the light type is directional or spot, the direction of the light source is defined by the rotation of the scene node (assuming (0,0,1) as the local direction of the light).

Definition at line 22 of file ILightSceneNode.h.


Constructor & Destructor Documentation

irr::scene::ILightSceneNode::ILightSceneNode ISceneNode parent,
ISceneManager mgr,
s32  id,
const core::vector3df position = core::vector3df(0,0,0)
[inline]
 

constructor

Definition at line 27 of file ILightSceneNode.h.


Member Function Documentation

virtual video::SLight& irr::scene::ILightSceneNode::getLightData  )  [pure virtual]
 

Gets the light data associated with this ILightSceneNode.

Returns:
The light data.

virtual const video::SLight& irr::scene::ILightSceneNode::getLightData  )  const [pure virtual]
 

Gets the light data associated with this ILightSceneNode.

Returns:
The light data.

virtual void irr::scene::ILightSceneNode::setLightData const video::SLight light  )  [pure virtual]
 

Sets the light data associated with this ILightSceneNode.

Parameters:
light The new light data.


The documentation for this class was generated from the following file:
The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated on Sun Sep 21 08:57:56 2008 by Doxygen (1.4.2)