Scene3DItem Class

class Qt3DRender::Scene3DItem

The Scene3DItem class is a QQuickItem subclass used to integrate a Qt3D scene into a QtQuick 2 scene. More...

Header: #include <Scene3DItem>
Inherits: QQuickItem

Public Functions

QStringList aspects() const
CameraAspectRatioMode cameraAspectRatioMode() const
CompositingMode compositingMode() const
Qt3DCore::QEntity *entity() const
bool isHoverEnabled() const
bool multisample() const
void setMultisample(bool enable)

Public Slots

void setAspects(const QStringList &aspects)
void setCameraAspectRatioMode(CameraAspectRatioMode mode)
void setCompositingMode(CompositingMode mode)
void setEntity(Qt3DCore::QEntity *entity)
void setHoverEnabled(bool enabled)

Signals

Detailed Description

\internal

The Scene3DItem class renders a Qt3D scene, provided by a Qt3DCore::QEntity into a multisampled Framebuffer object that is later blitted into a non-multisampled Framebuffer object to be then rendered through the use of a Qt3DCore::Scene3DSGNode with premultiplied alpha.