QScene Class

(Qt3D::QScene)

Public Functions

QScene(QAspectEngine * engine = Q_NULLPTR)
~QScene()
void addEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)
void addObservable(QObservableInterface * observable, const QNodeId & id)
void addObservable(QNode * observable)
Qt3D::QLockableObserverInterface * arbiter() const
QAspectEngine * engine() const
QList<QNodeId> entitiesForComponent(const QNodeId & id) const
bool hasEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)
QNode * lookupNode(const QNodeId & id) const
QVector<QNode *> lookupNodes(const QVector<QNodeId> & ids) const
QObservableList lookupObservables(const QNodeId & id) const
QNodeId nodeIdFromObservable(QObservableInterface * observable) const
void removeEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)
void removeObservable(QObservableInterface * observable, const QNodeId & id)
void removeObservable(QNode * observable)
void setArbiter(Qt3D::QLockableObserverInterface * arbiter)

Member Function Documentation

QScene::QScene(QAspectEngine * engine = Q_NULLPTR)

QScene::~QScene()

void QScene::addEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)

void QScene::addObservable(QObservableInterface * observable, const QNodeId & id)

void QScene::addObservable(QNode * observable)

Qt3D::QLockableObserverInterface * QScene::arbiter() const

See also setArbiter().

QAspectEngine * QScene::engine() const

QList<QNodeId> QScene::entitiesForComponent(const QNodeId & id) const

bool QScene::hasEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)

QNode * QScene::lookupNode(const QNodeId & id) const

QVector<QNode *> QScene::lookupNodes(const QVector<QNodeId> & ids) const

QObservableList QScene::lookupObservables(const QNodeId & id) const

QNodeId QScene::nodeIdFromObservable(QObservableInterface * observable) const

void QScene::removeEntityForComponent(const QNodeId & componentUuid, const QNodeId & entityUuid)

void QScene::removeObservable(QObservableInterface * observable, const QNodeId & id)

void QScene::removeObservable(QNode * observable)

void QScene::setArbiter(Qt3D::QLockableObserverInterface * arbiter)

See also arbiter().

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.