<html> <head> <title>Ogre::Viewport class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link type="text/css" rel="stylesheet" href="style.css"> </head> <body> <!-- Generated by Doxygen 1.3.6 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>Ogre::Viewport Class Reference</h1>An abstraction of a viewport, i.e. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>></code> <p> <a href="classOgre_1_1Viewport-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta0">Viewport</a> (<a class="el" href="classOgre_1_1Camera.html">Camera</a> *camera, <a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a> *target, <a class="el" href="namespaceOgre.html#a420">Real</a> left, <a class="el" href="namespaceOgre.html#a420">Real</a> top, <a class="el" href="namespaceOgre.html#a420">Real</a> width, <a class="el" href="namespaceOgre.html#a420">Real</a> height, int ZOrder)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The usual constructor. <a href="#Ogre_1_1Viewporta0"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta1">~Viewport</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Default destructor. <a href="#Ogre_1_1Viewporta1"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta2">_updateDimensions</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Notifies the viewport of a possible change in dimensions. <a href="#Ogre_1_1Viewporta2"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta3">update</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Instructs the viewport to updates its contents. <a href="#Ogre_1_1Viewporta3"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta4">getTarget</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a pointer to the render target for this viewport. <a href="#Ogre_1_1Viewporta4"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta5">getCamera</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves a pointer to the camera for this viewport. <a href="#Ogre_1_1Viewporta5"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta6">setCamera</a> (<a class="el" href="classOgre_1_1Camera.html">Camera</a> *cam)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the camera to use for rendering to this viewport. <a href="#Ogre_1_1Viewporta6"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta7">getZOrder</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the Z-Order of this viewport. <a href="#Ogre_1_1Viewporta7"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta8">getLeft</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <a href="#Ogre_1_1Viewporta8"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta9">getTop</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <a href="#Ogre_1_1Viewporta9"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta10">getWidth</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <a href="#Ogre_1_1Viewporta10"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a420">Real</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta11">getHeight</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <a href="#Ogre_1_1Viewporta11"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta12">getActualLeft</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the actual dimensions of the viewport, a value in pixels. <a href="#Ogre_1_1Viewporta12"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta13">getActualTop</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the actual dimensions of the viewport, a value in pixels. <a href="#Ogre_1_1Viewporta13"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta14">getActualWidth</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the actual dimensions of the viewport, a value in pixels. <a href="#Ogre_1_1Viewporta14"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta15">getActualHeight</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets one of the actual dimensions of the viewport, a value in pixels. <a href="#Ogre_1_1Viewporta15"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta16">setDimensions</a> (<a class="el" href="namespaceOgre.html#a420">Real</a> left, <a class="el" href="namespaceOgre.html#a420">Real</a> top, <a class="el" href="namespaceOgre.html#a420">Real</a> width, <a class="el" href="namespaceOgre.html#a420">Real</a> height)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the dimensions (after creation). <a href="#Ogre_1_1Viewporta16"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta17">setBackgroundColour</a> (const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> &colour)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the initial background colour of the viewport (before rendering). <a href="#Ogre_1_1Viewporta17"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta18">getBackgroundColour</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the background colour. <a href="#Ogre_1_1Viewporta18"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta19">setClearEveryFrame</a> (bool clear)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines whether to clear the viewport before rendering. <a href="#Ogre_1_1Viewporta19"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta20">getClearEveryFrame</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Determines if the viewport is cleared before every frame. <a href="#Ogre_1_1Viewporta20"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta21">getActualDimensions</a> (int &left, int &top, int &width, int &height) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Access to actual dimensions (based on target size). <a href="#Ogre_1_1Viewporta21"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta22">_isUpdated</a> (void) const </td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta23">_clearUpdatedFlag</a> (void)</td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>unsigned int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta24">_getNumRenderedFaces</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the number of rendered faces in the last update. <a href="#Ogre_1_1Viewporta24"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta25">setOverlaysEnabled</a> (bool enabled)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Tells this viewport whether it should display <a class="el" href="classOgre_1_1Overlay.html">Overlay</a> objects. <a href="#Ogre_1_1Viewporta25"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewporta26">getOverlaysEnabled</a> (void) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns whether or not <a class="el" href="classOgre_1_1Overlay.html">Overlay</a> objects (created in the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>) are displayed in this viewport. <a href="#Ogre_1_1Viewporta26"></a><br><br></td></tr> <tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp0">mCamera</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp1">mTarget</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp2">mRelLeft</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp3">mRelTop</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp4">mRelWidth</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>float </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp5">mRelHeight</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp6">mActLeft</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp7">mActTop</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp8">mActWidth</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp9">mActHeight</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp10">mZOrder</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">ZOrder. <a href="#Ogre_1_1Viewportp10"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp11">mBackColour</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Background options. <a href="#Ogre_1_1Viewportp11"></a><br><br></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp12">mClearEveryFrame</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp13">mUpdated</a></td></tr> <tr><td class="memItemLeft" nowrap align=right valign=top>bool </td><td class="memItemRight" valign=bottom><a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp14">mShowOverlays</a></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> An abstraction of a viewport, i.e. <p> a rendering region on a render target. <dl compact><dt><b>Remarks:</b></dt><dd>A viewport is the meeting of a camera and a rendering surface - the camera renders the scene from a viewpoint, and places its results into some subset of a rendering target, which may be the whole surface or just a part of the surface. Each viewport has a single camera as source and a single target as destination. A camera only has 1 viewport, but a render target may have several. A viewport also has a Z-order, i.e. if there is more than one viewport on a single render target and they overlap, one must obscure the other in some predetermined way. </dd></dl> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00046">46</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="Ogre_1_1Viewporta0" doxytag="Ogre::Viewport::Viewport" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Viewport::Viewport </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td> <td class="mdname" nowrap> <em>camera</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a> * </td> <td class="mdname" nowrap> <em>target</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>left</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>top</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>height</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>int </td> <td class="mdname" nowrap> <em>ZOrder</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> The usual constructor. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>cam</em> </td><td>Pointer to a camera to be the source for the image. </td></tr> <tr><td valign=top><em>target</em> </td><td>Pointer to the render target to be the destination for the rendering. </td></tr> <tr><td valign=top><em>left</em> </td><td></td></tr> <tr><td valign=top><em>top</em> </td><td></td></tr> <tr><td valign=top><em>width</em> </td><td></td></tr> <tr><td valign=top><em>height</em> </td><td>Dimensions of the viewport, expressed as a value between 0 and 1. This allows the dimensions to apply irrespective of changes in the target's size: e.g. to fill the whole area, values of 0,0,1,1 are appropriate. </td></tr> <tr><td valign=top><em>ZOrder</em> </td><td>Relative Z-order on the target. Lower = further to the front. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta1" doxytag="Ogre::Viewport::~Viewport" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> Ogre::Viewport::~<a class="el" href="classOgre_1_1Viewport.html">Viewport</a> </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Default destructor. <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="Ogre_1_1Viewporta23" doxytag="Ogre::Viewport::_clearUpdatedFlag" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::_clearUpdatedFlag </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta24" doxytag="Ogre::Viewport::_getNumRenderedFaces" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> unsigned int Ogre::Viewport::_getNumRenderedFaces </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the number of rendered faces in the last update. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta22" doxytag="Ogre::Viewport::_isUpdated" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::Viewport::_isUpdated </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta2" doxytag="Ogre::Viewport::_updateDimensions" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::_updateDimensions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Notifies the viewport of a possible change in dimensions. <p> <dl compact><dt><b>Remarks:</b></dt><dd>Used by the target to update the viewport's dimensions (usually the result of a change in target size). </dd></dl> <dl compact><dt><b>Note:</b></dt><dd>Internal use by <a class="el" href="namespaceOgre.html">Ogre</a> only. </dd></dl> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta21" doxytag="Ogre::Viewport::getActualDimensions" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::getActualDimensions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int & </td> <td class="mdname" nowrap> <em>left</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>top</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>int & </td> <td class="mdname" nowrap> <em>height</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Access to actual dimensions (based on target size). <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta15" doxytag="Ogre::Viewport::getActualHeight" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::Viewport::getActualHeight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the actual dimensions of the viewport, a value in pixels. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta12" doxytag="Ogre::Viewport::getActualLeft" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::Viewport::getActualLeft </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the actual dimensions of the viewport, a value in pixels. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta13" doxytag="Ogre::Viewport::getActualTop" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::Viewport::getActualTop </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the actual dimensions of the viewport, a value in pixels. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta14" doxytag="Ogre::Viewport::getActualWidth" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::Viewport::getActualWidth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the actual dimensions of the viewport, a value in pixels. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta18" doxytag="Ogre::Viewport::getBackgroundColour" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a>& Ogre::Viewport::getBackgroundColour </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the background colour. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta5" doxytag="Ogre::Viewport::getCamera" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Camera.html">Camera</a>* Ogre::Viewport::getCamera </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Retrieves a pointer to the camera for this viewport. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta20" doxytag="Ogre::Viewport::getClearEveryFrame" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::Viewport::getClearEveryFrame </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Determines if the viewport is cleared before every frame. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta11" doxytag="Ogre::Viewport::getHeight" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Viewport::getHeight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta8" doxytag="Ogre::Viewport::getLeft" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Viewport::getLeft </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta26" doxytag="Ogre::Viewport::getOverlaysEnabled" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool Ogre::Viewport::getOverlaysEnabled </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Returns whether or not <a class="el" href="classOgre_1_1Overlay.html">Overlay</a> objects (created in the <a class="el" href="classOgre_1_1SceneManager.html">SceneManager</a>) are displayed in this viewport. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta4" doxytag="Ogre::Viewport::getTarget" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a>* Ogre::Viewport::getTarget </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Retrieves a pointer to the render target for this viewport. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta9" doxytag="Ogre::Viewport::getTop" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Viewport::getTop </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta10" doxytag="Ogre::Viewport::getWidth" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a420">Real</a> Ogre::Viewport::getWidth </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets one of the relative dimensions of the viewport, a value between 0.0 and 1.0. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta7" doxytag="Ogre::Viewport::getZOrder" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int Ogre::Viewport::getZOrder </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Gets the Z-Order of this viewport. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta17" doxytag="Ogre::Viewport::setBackgroundColour" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::setBackgroundColour </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> & </td> <td class="mdname1" valign="top" nowrap> <em>colour</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the initial background colour of the viewport (before rendering). <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta6" doxytag="Ogre::Viewport::setCamera" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::setCamera </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOgre_1_1Camera.html">Camera</a> * </td> <td class="mdname1" valign="top" nowrap> <em>cam</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the camera to use for rendering to this viewport. <p> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta19" doxytag="Ogre::Viewport::setClearEveryFrame" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::setClearEveryFrame </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>clear</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Determines whether to clear the viewport before rendering. <p> <dl compact><dt><b>Remarks:</b></dt><dd>If you expecting every pixel on the viewport to be redrawn every frame, you can save a little time by not clearing the viewport before every frame. Do so by passing 'false' to this method (the default is to clear every frame). </dd></dl> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta16" doxytag="Ogre::Viewport::setDimensions" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::setDimensions </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>left</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>top</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="namespaceOgre.html#a420">Real</a> </td> <td class="mdname" nowrap> <em>height</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Sets the dimensions (after creation). <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>left</em> </td><td></td></tr> <tr><td valign=top><em>top</em> </td><td></td></tr> <tr><td valign=top><em>width</em> </td><td></td></tr> <tr><td valign=top><em>height</em> </td><td>Dimensions relative to the size of the target, represented as real values between 0 and 1. i.e. the full target area is 0, 0, 1, 1. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta25" doxytag="Ogre::Viewport::setOverlaysEnabled" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::setOverlaysEnabled </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>enabled</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Tells this viewport whether it should display <a class="el" href="classOgre_1_1Overlay.html">Overlay</a> objects. <p> <dl compact><dt><b>Remarks:</b></dt><dd><a class="el" href="classOgre_1_1Overlay.html">Overlay</a> objects are layers which appear on top of the scene. They are created via SceneManager::createOverlay and every viewport displays these by default. However, you probably don't want this if you're using multiple viewports, because one of them is probably a picture-in-picture which is not supposed to have overlays of it's own. In this case you can turn off overlays on this viewport by calling this method. </dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign=top><em>enabled</em> </td><td>If true, any overlays are displayed, if false they are not. </td></tr> </table> </dl> </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewporta3" doxytag="Ogre::Viewport::update" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void Ogre::Viewport::update </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">void </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Instructs the viewport to updates its contents. <p> </td> </tr> </table> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="Ogre_1_1Viewportp9" doxytag="Ogre::Viewport::mActHeight" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp9">Ogre::Viewport::mActHeight</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00219">219</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp6" doxytag="Ogre::Viewport::mActLeft" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp6">Ogre::Viewport::mActLeft</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00219">219</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp7" doxytag="Ogre::Viewport::mActTop" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp7">Ogre::Viewport::mActTop</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00219">219</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp8" doxytag="Ogre::Viewport::mActWidth" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp8">Ogre::Viewport::mActWidth</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00219">219</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp11" doxytag="Ogre::Viewport::mBackColour" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1ColourValue.html">ColourValue</a> <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp11">Ogre::Viewport::mBackColour</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> Background options. <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00223">223</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp0" doxytag="Ogre::Viewport::mCamera" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1Camera.html">Camera</a>* <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp0">Ogre::Viewport::mCamera</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00214">214</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp12" doxytag="Ogre::Viewport::mClearEveryFrame" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp12">Ogre::Viewport::mClearEveryFrame</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00224">224</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp5" doxytag="Ogre::Viewport::mRelHeight" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> float <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp5">Ogre::Viewport::mRelHeight</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00217">217</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp2" doxytag="Ogre::Viewport::mRelLeft" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> float <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp2">Ogre::Viewport::mRelLeft</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00217">217</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp3" doxytag="Ogre::Viewport::mRelTop" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> float <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp3">Ogre::Viewport::mRelTop</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00217">217</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp4" doxytag="Ogre::Viewport::mRelWidth" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> float <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp4">Ogre::Viewport::mRelWidth</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00217">217</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp14" doxytag="Ogre::Viewport::mShowOverlays" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp14">Ogre::Viewport::mShowOverlays</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00226">226</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp1" doxytag="Ogre::Viewport::mTarget" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1RenderTarget.html">RenderTarget</a>* <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp1">Ogre::Viewport::mTarget</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00215">215</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp13" doxytag="Ogre::Viewport::mUpdated" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> bool <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp13">Ogre::Viewport::mUpdated</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00225">225</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <a class="anchor" name="Ogre_1_1Viewportp10" doxytag="Ogre::Viewport::mZOrder" ></a><p> <table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> int <a class="el" href="classOgre_1_1Viewport.html#Ogre_1_1Viewportp10">Ogre::Viewport::mZOrder</a><code> [protected]</code> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> ZOrder. <p> <p> Definition at line <a class="el" href="OgreViewport_8h-source.html#l00221">221</a> of file <a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="OgreViewport_8h-source.html">OgreViewport.h</a></ul> <p> Copyright © 2000-2005 by The OGRE Team<br /> Last modified Wed Feb 23 00:24:53 2005 </p> </body> </html>