Caelum::PrecipitationInstance Class Reference

Per-viewport instance of precipitation. More...

#include <PrecipitationController.h>

List of all members.

Classes

struct  Params

Public Member Functions

Ogre::Viewport * getViewport () const
PrecipitationControllergetParent () const
Ogre::CompositorInstance * getCompositorInstance () const
bool getAutoCameraSpeed ()
 Check if camera speed is automatically calculated (default true).
void setAutoCameraSpeed ()
 Set camera speed to automatic calculation.
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


Detailed Description

Per-viewport instance of precipitation.

This will create and control an ogre::CompositorInstance.

Definition at line 207 of file PrecipitationController.h.


Member Function Documentation

void Caelum::PrecipitationInstance::setAutoCameraSpeed (  ) 

Set camera speed to automatic calculation.

Warning:
: This runs into difficult precission issues. It is better to use setManualCameraSpeed.

Definition at line 325 of file PrecipitationController.cpp.


The documentation for this class was generated from the following files:

Generated on Sun Aug 9 10:24:22 2009 for Caelum by  doxygen 1.5.9