Caelum
0.6.4
|
Per-viewport instance of precipitation. More...
#include <PrecipitationController.h>
Public Member Functions | |
Ogre::Viewport * | getViewport () const |
PrecipitationController * | getParent () const |
Ogre::CompositorInstance * | getCompositorInstance () const |
bool | getAutoCameraSpeed () |
Check if camera speed is automatically calculated (default true). | |
void | setAutoCameraSpeed () |
Set camera speed to automatic calculation. More... | |
void | setManualCameraSpeed (const Ogre::Vector3 &value) |
Set manual camera speed; disables automatic calculation. | |
const Ogre::Vector3 | getCameraSpeed () |
Get current camera speed. Doesn't include CameraSpeedScale. | |
PrecipitationInstance (PrecipitationController *parent, Ogre::Viewport *view) | |
Friends | |
class | PrecipitationController |
Per-viewport instance of precipitation.
This will create and control an ogre::CompositorInstance.
void Caelum::PrecipitationInstance::setAutoCameraSpeed | ( | ) |
Set camera speed to automatic calculation.