|
Thrive
|
#include <viewport_system.h>
Public Attributes | |
| Ogre::ColourValue | backgroundColour |
| The viewport's background colour. | |
| EntityId | cameraEntity = NULL_ENTITY |
| The camera entity to use. More... | |
| Ogre::Real | height = 1.0f |
| The viewport's height relative to the window. More... | |
| Ogre::Real | left = 0.0f |
| Left edge of the viewport within the window. More... | |
| Ogre::Real | top = 0.0f |
| Top edge of the viewport within the window. More... | |
| Ogre::Real | width = 1.0f |
| The viewport's width relative to the window. More... | |
Additional Inherited Members | |
Public Member Functions inherited from thrive::Touchable | |
| bool | hasChanges () const |
| Whether this Touchable has unapplied changes. | |
| void | touch () |
| Marks the Touchable as changed. | |
| void | untouch () |
| Marks all changes as applied. | |
Static Public Member Functions inherited from thrive::Touchable | |
| static luabind::scope | luaBindings () |
| Lua bindings. More... | |
| EntityId thrive::OgreViewportComponent::Properties::cameraEntity = NULL_ENTITY |
The camera entity to use.
If the given entity has no OgreCameraComponent, the viewport will stay black
| Ogre::Real thrive::OgreViewportComponent::Properties::height = 1.0f |
The viewport's height relative to the window.
The coordinate system is relative, i.e. 0.5 is half height, 1.0 is full height.
| Ogre::Real thrive::OgreViewportComponent::Properties::left = 0.0f |
Left edge of the viewport within the window.
The coordinate system is relative, i.e. 0.0 is leftmost, 1.0 is rightmost.
| Ogre::Real thrive::OgreViewportComponent::Properties::top = 0.0f |
Top edge of the viewport within the window.
The coordinate system is relative, i.e. 0.0 is topmost, 1.0 is bottommost.
| Ogre::Real thrive::OgreViewportComponent::Properties::width = 1.0f |
The viewport's width relative to the window.
The coordinate system is relative, i.e. 0.5 is half width, 1.0 is full width.
1.8.10