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 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) |
Will be used to instanciate objects of this class. |
Definition at line 26 of file SkyBoxComponent.h.
SkyBoxComponent::SkyBoxComponent | ( | Entity * | parent, | |
ITexture * | top, | |||
ITexture * | bottom, | |||
ITexture * | left, | |||
ITexture * | right, | |||
ITexture * | front, | |||
ITexture * | back | |||
) |
Constructor.
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. |
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.
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 | ( | ) |
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.
Definition at line 70 of file SkyBoxComponent.cpp.