EntityLoader QML Type
Provides a way to dynamically load an Entity subtree. More...
Import Statement: | import Qt3D.Core 2.5 |
Inherits: |
Properties
Detailed Description
An EntityLoader provides the facitily to load predefined set of entities from qml source file. EntityLoader itself is an entity and the loaded entity tree is set as a child of the loader. The loaded entity tree root can be accessed with EntityLoader::entity property.
EntityLoader { id: loader source: "./SphereEntity.qml" }
Property Documentation
[read-only] entity : QtQml::QtObject |
Holds the loaded entity tree root.
This property allows access to the content of the loader. It references either a valid Entity object if the status property equals EntityLoader.Ready, it is equal to null otherwise.
source : url |
Holds the source url.
status : Status |
Holds the status of the entity loader.
- EntityLoader.Null
- EntityLoader.Loading
- EntityLoader.Ready
- EntityLoader.Error
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.