Qt3DWindow Class
(Qt3DExtras::Qt3DWindow)Public Functions
Qt3DWindow(QScreen *screen = nullptr) | |
virtual | ~Qt3DWindow() |
Qt3DRender::QFrameGraphNode * | activeFrameGraph() const |
Qt3DRender::QCamera * | camera() const |
Qt3DExtras::QForwardRenderer * | defaultFrameGraph() const |
void | registerAspect(Qt3DCore::QAbstractAspect *aspect) |
void | registerAspect(const QString &name) |
Qt3DRender::QRenderSettings * | renderSettings() const |
void | setActiveFrameGraph(Qt3DRender::QFrameGraphNode *activeFrameGraph) |
void | setRootEntity(Qt3DCore::QEntity *root) |
Reimplemented Protected Functions
virtual void | resizeEvent(QResizeEvent *) override |
virtual void | showEvent(QShowEvent *e) override |
Member Function Documentation
Qt3DWindow::Qt3DWindow(QScreen *screen = nullptr)
Default constructs an instance of Qt3DWindow.
[virtual]
Qt3DWindow::~Qt3DWindow()
Destroys the instance of Qt3DWindow. The destructor is virtual.
Qt3DRender::QFrameGraphNode *Qt3DWindow::activeFrameGraph() const
Returns the node of the active frame graph.
See also setActiveFrameGraph().
Qt3DRender::QCamera *Qt3DWindow::camera() const
Qt3DExtras::QForwardRenderer *Qt3DWindow::defaultFrameGraph() const
Returns the node of the default framegraph
void Qt3DWindow::registerAspect(Qt3DCore::QAbstractAspect *aspect)
Registers the specified aspect.
void Qt3DWindow::registerAspect(const QString &name)
Registers the specified aspect name.
Qt3DRender::QRenderSettings *Qt3DWindow::renderSettings() const
Returns the render settings of the 3D Window.
[override virtual protected]
void Qt3DWindow::resizeEvent(QResizeEvent *)
Resets the aspect ratio of the 3D window.
void Qt3DWindow::setActiveFrameGraph(Qt3DRender::QFrameGraphNode *activeFrameGraph)
Activates the specified activeFrameGraph.
See also activeFrameGraph().
void Qt3DWindow::setRootEntity(Qt3DCore::QEntity *root)
Sets the specified root entity of the scene.
[override virtual protected]
void Qt3DWindow::showEvent(QShowEvent *e)
Manages the display events specified in e.