Qt3DWindow Class

(Qt3DExtras::Qt3DWindow)
Inherits: QWindow

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)
  • 85 public functions inherited from QWindow
  • 34 public functions inherited from QObject
  • 6 public functions inherited from QSurface

Reimplemented Protected Functions

virtual void resizeEvent(QResizeEvent *) override
virtual void showEvent(QShowEvent *e) override
  • 18 protected functions inherited from QWindow
  • 9 protected functions inherited from QObject

Additional Inherited Members

  • 16 properties inherited from QWindow
  • 1 property inherited from QObject
  • 24 public slots inherited from QWindow
  • 1 public slot inherited from QObject
  • 18 signals inherited from QWindow
  • 2 signals inherited from QObject
  • 1 public variable inherited from QWindow
  • 1 public variable inherited from QObject
  • 3 static public members inherited from QWindow
  • 10 static public members inherited from QObject
  • 18 protected functions inherited from QWindow
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject
  • 2 protected variables inherited from QSurface

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 *)

Reimplemented from QWindow::resizeEvent().

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)

Reimplemented from QWindow::showEvent().

Manages the display events specified in e.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.11/qt3dextras-qt3dwindow.html