- Qt 5.5
- Qt3D Module
- C++ Classes
- QScene
- Qt 5.5.1 Reference Documentation

# QScene Class

(Qt3D::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)
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().