QScene Class | Qt 3D 5.6

Qt 5.6 | Qt 3D | C++ Classes | QScene

Qt 5.6.2 Reference Documentation

# QScene Class

(Qt3DCore::QScene)

- List of all members, including inherited members

## 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)
Qt3DCore::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(Qt3DCore::QLockableObserverInterface *arbiter)

## Member Function Documentation

### QScene::QScene(QAspectEngine *engine = Q_NULLPTR)

Default constructs an instance of QScene.

### QScene::~QScene()

Destroys the instance of QScene.

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

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

### void QScene::addObservable(QNode *observable)

### Qt3DCore::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(Qt3DCore::QLockableObserverInterface *arbiter)

See also arbiter().