<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Qt3DWindow Class | Qt 3D 5.9</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.9</td><td ><a href="qt3d-index.html">Qt 3D</a></td><td ><a href="qt3d-cpp.html">C++ Classes</a></td><td >Qt3DWindow</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right">Qt 5.9.4 Reference Documentation</td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#protected-functions">Protected Functions</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">Qt3DWindow Class</h1> <span class="small-subtitle">(<a href="qt3dextras-qt3dwindow.html">Qt3DExtras::Qt3DWindow</a>)<br/></span> <ul> <li><a href="qt3dextras-qt3dwindow-members.html">List of all members, including inherited members</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#Qt3DWindow">Qt3DWindow</a></b>(QScreen *<i>screen</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#dtor.Qt3DWindow">~Qt3DWindow</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QFrameGraphNode *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#activeFrameGraph">activeFrameGraph</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QCamera *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#camera">camera</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DExtras::QForwardRenderer *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#defaultFrameGraph">defaultFrameGraph</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#registerAspect">registerAspect</a></b>(Qt3DCore::QAbstractAspect *<i>aspect</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#registerAspect-1">registerAspect</a></b>(const QString &<i>name</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> Qt3DRender::QRenderSettings *</td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#renderSettings">renderSettings</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#setActiveFrameGraph">setActiveFrameGraph</a></b>(Qt3DRender::QFrameGraphNode *<i>activeFrameGraph</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#setRootEntity">setRootEntity</a></b>(Qt3DCore::QEntity *<i>root</i>)</td></tr> </table></div> <a name="protected-functions"></a> <h2 id="protected-functions">Protected Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#resizeEvent">resizeEvent</a></b>(<i>QResizeEvent *</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qt3dextras-qt3dwindow.html#showEvent">showEvent</a></b>(QShowEvent *<i>e</i>)</td></tr> </table></div> <a name="details"></a> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$Qt3DWindow[overload1]$$$Qt3DWindowQScreen* --> <h3 class="fn" id="Qt3DWindow"><a name="Qt3DWindow"></a>Qt3DWindow::<span class="name">Qt3DWindow</span>(<span class="type">QScreen</span> *<i>screen</i> = nullptr)</h3> <p>Default constructs an instance of Qt3DWindow.</p><!-- @@@Qt3DWindow --> <!-- $$$~Qt3DWindow[overload1]$$$~Qt3DWindow --> <h3 class="fn" id="dtor.Qt3DWindow"><a name="dtor.Qt3DWindow"></a>Qt3DWindow::<span class="name">~Qt3DWindow</span>()</h3> <p>Destroys the instance of Qt3DWindow.</p><!-- @@@~Qt3DWindow --> <!-- $$$activeFrameGraph[overload1]$$$activeFrameGraph --> <h3 class="fn" id="activeFrameGraph"><a name="activeFrameGraph"></a><span class="type">Qt3DRender::QFrameGraphNode</span> *Qt3DWindow::<span class="name">activeFrameGraph</span>() const</h3> <p><b>See also </b><a href="qt3dextras-qt3dwindow.html#setActiveFrameGraph">setActiveFrameGraph</a>().</p> <!-- @@@activeFrameGraph --> <!-- $$$camera[overload1]$$$camera --> <h3 class="fn" id="camera"><a name="camera"></a><span class="type">Qt3DRender::QCamera</span> *Qt3DWindow::<span class="name">camera</span>() const</h3> <!-- @@@camera --> <!-- $$$defaultFrameGraph[overload1]$$$defaultFrameGraph --> <h3 class="fn" id="defaultFrameGraph"><a name="defaultFrameGraph"></a><span class="type">Qt3DExtras::QForwardRenderer</span> *Qt3DWindow::<span class="name">defaultFrameGraph</span>() const</h3> <!-- @@@defaultFrameGraph --> <!-- $$$registerAspect[overload1]$$$registerAspectQt3DCore::QAbstractAspect* --> <h3 class="fn" id="registerAspect"><a name="registerAspect"></a><span class="type">void</span> Qt3DWindow::<span class="name">registerAspect</span>(<span class="type">Qt3DCore::QAbstractAspect</span> *<i>aspect</i>)</h3> <!-- @@@registerAspect --> <!-- $$$registerAspect$$$registerAspectconstQString& --> <h3 class="fn" id="registerAspect-1"><a name="registerAspect-1"></a><span class="type">void</span> Qt3DWindow::<span class="name">registerAspect</span>(const <span class="type">QString</span> &<i>name</i>)</h3> <!-- @@@registerAspect --> <!-- $$$renderSettings[overload1]$$$renderSettings --> <h3 class="fn" id="renderSettings"><a name="renderSettings"></a><span class="type">Qt3DRender::QRenderSettings</span> *Qt3DWindow::<span class="name">renderSettings</span>() const</h3> <!-- @@@renderSettings --> <!-- $$$resizeEvent[overload1]$$$resizeEventQResizeEvent* --> <h3 class="fn" id="resizeEvent"><a name="resizeEvent"></a><code>[protected] </code><span class="type">void</span> Qt3DWindow::<span class="name">resizeEvent</span>(<i>QResizeEvent *</i>)</h3> <!-- @@@resizeEvent --> <!-- $$$setActiveFrameGraph[overload1]$$$setActiveFrameGraphQt3DRender::QFrameGraphNode* --> <h3 class="fn" id="setActiveFrameGraph"><a name="setActiveFrameGraph"></a><span class="type">void</span> Qt3DWindow::<span class="name">setActiveFrameGraph</span>(<span class="type">Qt3DRender::QFrameGraphNode</span> *<i>activeFrameGraph</i>)</h3> <p><b>See also </b><a href="qt3dextras-qt3dwindow.html#activeFrameGraph">activeFrameGraph</a>().</p> <!-- @@@setActiveFrameGraph --> <!-- $$$setRootEntity[overload1]$$$setRootEntityQt3DCore::QEntity* --> <h3 class="fn" id="setRootEntity"><a name="setRootEntity"></a><span class="type">void</span> Qt3DWindow::<span class="name">setRootEntity</span>(<span class="type">Qt3DCore::QEntity</span> *<i>root</i>)</h3> <!-- @@@setRootEntity --> <!-- $$$showEvent[overload1]$$$showEventQShowEvent* --> <h3 class="fn" id="showEvent"><a name="showEvent"></a><code>[protected] </code><span class="type">void</span> Qt3DWindow::<span class="name">showEvent</span>(<span class="type">QShowEvent</span> *<i>e</i>)</h3> <!-- @@@showEvent --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>