EntityLoader QML Type
Ofrece una forma de cargar dinámicamente un subárbol de entidades. Más información...
| Import Statement: | import Qt3D.Core 2.12 |
| Inherits: | |
| Status: | Deprecated |
Este tipo está obsoleto. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
Descripción detallada
Un EntityLoader permite cargar un conjunto predefinido de entidades desde un archivo fuente QML. El propio EntityLoader es una entidad y el árbol de entidades cargado se establece como un elemento secundario del cargador. Se puede acceder a la raíz del árbol de entidades cargado mediante la propiedad « EntityLoader::entity ».
EntityLoader {
id: loader
source: "./SphereEntity.qml"
}Documentación de la propiedad
entity : QtQml::QtObject [read-only]
Contiene la raíz del árbol de entidades cargado.
Esta propiedad permite acceder al contenido del cargador. Hace referencia a un objeto Entity válido si la propiedad «status» es igual a « EntityLoader.Ready»; en caso contrario, es igual a null.
source : url
Contiene la URL de origen.
status : Status
Contiene el estado del cargador de entidades.
- EntityLoader.Nulo
- EntityLoader.Cargando
- EntityLoader.Listo
- EntityLoader.Error
© 2026 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.