It is the Skybox Class.
More...
#include <skybox.h>
It is the Skybox Class.
- Version
- 1.0
- Author
- #34
Skybox::Skybox |
( |
Skin * |
_skin, |
|
|
GLfloat |
_emissionFactor = 0.6f , |
|
|
GLfloat |
_cubeSide = 40.0f |
|
) |
| |
|
explicit |
Create a Skybox object.
- Parameters
-
_skin | is the skin to use for the Skybox. |
_emissionFactor | is the emission factor of the Skybox. |
_cubeSide | is the side of the Skybox cube. |
GLfloat Skybox::getCubeSide |
( |
| ) |
|
Returns the side of the Skybox cube.
- Returns
- the side of the Skybox cube.
GLfloat Skybox::getEmssionFactor |
( |
| ) |
|
Returns the emission factor of the Skybox.
- Returns
- the emission factor of the Skybox.
Skin * Skybox::getSkin |
( |
| ) |
|
GLvoid Skybox::setCubeSide |
( |
GLfloat |
_cubeSide | ) |
|
Set the side of the Skybox cube.
- Parameters
-
_cubeSide | is the side of the Skybox cube. |
GLvoid Skybox::setEmissionFactor |
( |
GLfloat |
_emissionFactor | ) |
|
Set the emission factor of the Skybox.
- Parameters
-
_emissionFactor | is the emission factor of the Skybox. |
GLvoid Skybox::setSkin |
( |
Skin * |
_skin | ) |
|
It is the Skybox cube side length.
QVector<GLfloat> Skybox::disabledVector |
|
private |
It is the vector used to disable components in OGL.
QVector<GLfloat> Skybox::emissionVector |
|
private |
It is the Skybox emission vector.
The documentation for this class was generated from the following files: