SkyBoxComponent Class Reference

Component wrapper of Irrlicht's SceneManager function addSkyBoxSceneNode(...). More...

Inheritance diagram for SkyBoxComponent:

Inheritance graph
[legend]
Collaboration diagram for SkyBoxComponent:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SkyBoxComponent (Entity *parent, ITexture *top, ITexture *bottom, ITexture *left, ITexture *right, ITexture *front, ITexture *back)
 Constructor.
 SkyBoxComponent (Entity *parent, const std::string &top, const std::string &bottom, const std::string &left, const std::string &right, const std::string &front, const std::string &back)
 Constructor.
 ~SkyBoxComponent ()
 Deconstructor.

Static Public Member Functions

static SkyBoxComponentrefFactory (Entity *parent, const std::string &top, const std::string &bottom, const std::string &left, const std::string &right, const std::string &front, const std::string &back)
 Will be used to instanciate objects of this class.


Detailed Description

Component wrapper of Irrlicht's SceneManager function addSkyBoxSceneNode(...).

Definition at line 26 of file SkyBoxComponent.h.


Constructor & Destructor Documentation

SkyBoxComponent::SkyBoxComponent ( Entity parent,
ITexture *  top,
ITexture *  bottom,
ITexture *  left,
ITexture *  right,
ITexture *  front,
ITexture *  back 
)

Constructor.

Parameters:
parent The parent entity to which the component should be added.
top Texture for the top plane of the box.
bottom Texture for the bottom plane of the box.
left Texture for the left plane of the box.
right Texture for the right plane of the box.
front Texture for the front plane of the box.
back Texture for the back plane of the box.
Note:
Not available in AngelScript.

Definition at line 24 of file SkyBoxComponent.cpp.

SkyBoxComponent::SkyBoxComponent ( Entity parent,
const std::string &  top,
const std::string &  bottom,
const std::string &  left,
const std::string &  right,
const std::string &  front,
const std::string &  back 
)

Constructor.

Parameters:
parent The parent entity to which the component should be added.
top File with the texture for the top plane of the box.
bottom File with the texture for the bottom plane of the box.
left File with the texture for the left plane of the box.
right File with the texture for the right plane of the box.
front File with the texture for the front plane of the box.
back File with the texture for the back plane of the box.

Definition at line 41 of file SkyBoxComponent.cpp.

SkyBoxComponent::~SkyBoxComponent (  ) 

Deconstructor.

Definition at line 65 of file SkyBoxComponent.cpp.


Member Function Documentation

SkyBoxComponent * SkyBoxComponent::refFactory ( Entity parent,
const std::string &  top,
const std::string &  bottom,
const std::string &  left,
const std::string &  right,
const std::string &  front,
const std::string &  back 
) [static]

Will be used to instanciate objects of this class.

Note:
For internal use only!

Definition at line 70 of file SkyBoxComponent.cpp.


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

Generated on Wed Jun 10 22:26:26 2009 for Sirrf - Simple Irrlicht Framework by  doxygen 1.5.8