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
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
Public Slots
void | setSource(const QUrl &arg) |
- 1 public slot inherited from Qt3DCore::QComponent
- 2 public slots inherited from Qt3DCore::QNode
Signals
void | sourceChanged(const QUrl &source) |
void | statusChanged(Status status) |
- 1 signal inherited from Qt3DCore::QComponent
- 3 signals inherited from Qt3DCore::QNode
Protected Functions
QSceneLoader(QSceneLoaderPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 2 protected functions inherited from Qt3DCore::QNode
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) |