QViewport Class
class Qt3DRender::QViewportA viewport on the Qt3D Scene. More...
Header: | #include <QViewport> |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Instantiated By: | Viewport |
Inherits: | Qt3DRender::QFrameGraphNode |
This class was introduced in Qt 5.7.
Public Functions
QViewport(Qt3DCore::QNode *parent = nullptr) |
Detailed Description
Qt3DRender::QViewport of the scene specifies at which portion of the render surface Qt3D is rendering to. Area outside the viewport is left untouched. It also controls global parameters to the rendering in that viewport like gamma.
Member Function Documentation
QViewport::QViewport(Qt3DCore::QNode *parent = nullptr)
Constructs QViewport with given parent.