|
OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The DrawEvent - event class. More...
#include <drawevent.h>
Public Types | |
| enum | MATRICEN { PRO_ORTHO, PRO_PROJECTION, PRO_UNKNOWN } |
Public Member Functions | |
| void | setClipDistance (const Vector4f &clip_distance) |
| void | setProjection (const glm::mat4 &matrix, MATRICEN mode) |
| setProjection More... | |
| void | setWorldView (const glm::mat4 &matrix) |
| setWorldView More... | |
| void | setModelMatrix (const glm::mat4 &matrix) |
| setModelView More... | |
| void | setTexture (const glm::mat4 &matrix) |
| setTexture More... | |
| void | setShadow (const ShadowEvent &event) |
| setShadow More... | |
| MATRICEN | getProjectionMode (void) const |
| getProjectionMode More... | |
| bool | hasProjection (void) const |
| bool | hasWorldView (void) const |
| bool | hasModel (void) const |
| bool | hasTexture (void) const |
| bool | hasShadowEvent (void) const |
| glm::mat4 | getProjection (void) const |
| glm::mat4 | getWorldView (void) const |
| glm::mat4 | getModelMatrix (void) const |
| glm::mat4 | getTextureMatrix (void) const |
| const ShadowEvent | getShadowEvent (void) const |
| const Vector4f | getClipDistance (void) const |
The DrawEvent - event class.
| DrawEvent::MATRICEN DrawEvent::getProjectionMode | ( | void | ) | const |
getProjectionMode
Return the current Projection Mode if Projection Matrix is set
| void DrawEvent::setModelMatrix | ( | const glm::mat4 & | matrix | ) |
setModelView
ModelMatrix -> ModelMatrix is a Object Matrix ( example: light matrix )
| matrix |
| void DrawEvent::setProjection | ( | const glm::mat4 & | matrix, |
| MATRICEN | mode | ||
| ) |
setProjection
Projection Matrix - -> ortho(2D) or projection(3D)
| matrix | |
| mode |
| void DrawEvent::setShadow | ( | const ShadowEvent & | event | ) |
setShadow
Set new Shadow Event
| event |
| void DrawEvent::setTexture | ( | const glm::mat4 & | matrix | ) |
| void DrawEvent::setWorldView | ( | const glm::mat4 & | matrix | ) |
setWorldView
WorldView Matrix is the CameraMatrix or ViewMatrix
| matrix |
1.8.10