QSceneLoader Class
(Qt3DRender::QSceneLoader)... More...
| Header: | #include <QSceneLoader> |
| qmake: | QT += 3drender |
| Since: | Qt 5.7 |
| Instantiated By: | SceneLoader |
| Inherits: | Qt3DCore::QComponent |
Public Types
| enum | Status { None, Loading, Ready, Error } |
Properties
- 1 property inherited from Qt3DCore::QComponent
- 2 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject
Public Functions
| QSceneLoader(Qt3DCore::QNode *parent = nullptr) | |
| void | sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change) |
| QUrl | source() const |
| Status | status() const |
- 2 public functions inherited from Qt3DCore::QComponent
- 6 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject
Public Slots
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject
Signals
| void | sourceChanged(const QUrl &source) |
| void | statusChanged(Status status) |
- 1 signal inherited from Qt3DCore::QComponent
- 3 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject
Protected Functions
| QSceneLoader(QSceneLoaderPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
Additional Inherited Members
- 1 public variable inherited from QObject
- 10 static public members inherited from QObject
- 2 protected variables inherited from QObject
Detailed Description
...
Property Documentation
source : QUrl
Specifies the url for the source to be loaded.
Access functions:
| QUrl | source() const |
| void | setSource(const QUrl &arg) |
Notifier signal:
| void | sourceChanged(const QUrl &source) |
status : const Status
Indicates the status of scene loading.
Access functions:
| Status | status() const |
Notifier signal:
| void | statusChanged(Status status) |
Member Function Documentation
QSceneLoader::QSceneLoader(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QSceneLoader.
[protected] QSceneLoader::QSceneLoader(QSceneLoaderPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
void QSceneLoader::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)
[slot] void QSceneLoader::setStatus(Status status)
See also status().