QAspectEngine Class

(Qt3DCore::QAspectEngine)
Inherits: QObject

Public Functions

QAspectEngine(QObject *parent = Q_NULLPTR)
~QAspectEngine()
QList<QAbstractAspect *> aspects() const
QVariant executeCommand(const QString &command)
void registerAspect(QAbstractAspect *aspect)
void registerAspect(const QString &name)
QSharedPointer<QEntity> rootEntity() const
void setData(const QVariantMap &data)
void setRootEntity(QEntity *root)
  • 31 public functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 2 signals inherited from QObject
  • 11 static public members inherited from QObject
  • 9 protected functions inherited from QObject

Member Function Documentation

QAspectEngine::QAspectEngine(QObject *parent = Q_NULLPTR)

Default constructs an instance of QAspectEngine.

QAspectEngine::~QAspectEngine()

Destroys the instance of QAspectEngine.

QList<QAbstractAspect *> QAspectEngine::aspects() const

QVariant QAspectEngine::executeCommand(const QString &command)

void QAspectEngine::registerAspect(QAbstractAspect *aspect)

void QAspectEngine::registerAspect(const QString &name)

QSharedPointer<QEntity> QAspectEngine::rootEntity() const

See also setRootEntity().

void QAspectEngine::setData(const QVariantMap &data)

void QAspectEngine::setRootEntity(QEntity *root)

See also rootEntity().

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