Ogre::Viewport::Listener Class Reference

Listener interface so you can be notified of Viewport changes. More...

`#include <OgreViewport.h>`

Inheritance diagram for Ogre::Viewport::Listener:
[legend]

## Public Member Functions

virtual | ~Listener ()
virtual void | viewportCameraChanged (Viewport *viewport)
| Notification of when a new camera is set to target listening Viewport. More...
virtual void | viewportDestroyed (Viewport *viewport)
| Notification of when target listening Viewport's is destroyed. More...
virtual void | viewportDimensionsChanged (Viewport *viewport)
| Notification of when target listening Viewport's dimensions changed. More...

## Detailed Description

Listener interface so you can be notified of Viewport changes.

Definition at line 61 of file OgreViewport.h.

## Constructor & Destructor Documentation

## ~Listener()

virtual Ogre::Viewport::Listener::~Listener | ( |  | ) |

virtual

Definition at line 64 of file OgreViewport.h.

## Member Function Documentation

## viewportCameraChanged()

virtual void Ogre::Viewport::Listener::viewportCameraChanged | ( | Viewport * | viewport | ) |

virtual

Notification of when a new camera is set to target listening Viewport.

Reimplemented in Ogre::CompositorChain.

Definition at line 67 of file OgreViewport.h.

## viewportDestroyed()

virtual void Ogre::Viewport::Listener::viewportDestroyed | ( | Viewport * | viewport | ) |

virtual

Notification of when target listening Viewport's is destroyed.

Reimplemented in Ogre::CompositorChain.

Definition at line 73 of file OgreViewport.h.

References Ogre::ColourValue::Black, Ogre::FBT_COLOUR, and Ogre::FBT_DEPTH.

## viewportDimensionsChanged()

virtual void Ogre::Viewport::Listener::viewportDimensionsChanged | ( | Viewport * | viewport | ) |

virtual

Notification of when target listening Viewport's dimensions changed.

Reimplemented in Ogre::CompositorChain.

Definition at line 70 of file OgreViewport.h.

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

- OgreViewport.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.