QSceneLoader Class
(Qt3DRender::QSceneLoader)Provides the facility to load an existing Scene 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) | |
| 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
| void | setSource(const QUrl &arg) |
- 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
Provides the facility to load an existing Scene
Member Type Documentation
enum QSceneLoader::Status
This enum identifies the state of loading
| Constant | Value |
|---|---|
Qt3DRender::QSceneLoader::None | 0 |
Qt3DRender::QSceneLoader::Loading | 1 |
Qt3DRender::QSceneLoader::Ready | 2 |
Qt3DRender::QSceneLoader::Error | 3 |
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) |