QEntity Class

class Qt3DCore::QEntity

Qt3DCore::QEntity is a Qt3DCore::QNode subclass that can aggregate several Qt3DCore::QComponent instances that will specify its behavior. More...

Header: #include <QEntity>
qmake: QT += 3dcore
Since: Qt 5.5
Instantiated By: Entity
Inherits: Qt3DCore::QNode
Inherited By:

Qt3DExtras::QAbstractCameraController, Qt3DExtras::QSkyboxEntity, Qt3DExtras::QText2DEntity, and Qt3DRender::QCamera

This class was introduced in Qt 5.5.

Detailed Description

By itself a Qt3DCore::QEntity is an empty shell. The behavior of a Qt3DCore::QEntity object is defined by the Qt3DCore::QComponent objects it references. Each Qt3D backend aspect will be able to interpret and process an Entity by recognizing which components it is made up of. One aspect may decide to only process entities composed of a single Qt3DCore::QTransform component whilst another may focus on Qt3DInput::QMouseHandler.

See also Qt3DCore::QComponent and Qt3DCore::QTransform.

Related Non-Members

typedef QComponentVector

List of QComponent pointers.