En esta página

EntityLoader QML Type

Permite cargar dinámicamente un subárbol de entidades. Más...

Import Statement: import Qt3D.Core 2.11
Inherits:

Entity

Status: Deprecated

Propiedades

Descripción detallada

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 hijo del cargador. Se puede acceder a la raíz del árbol de entidades cargado con 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 Entidad válido si la propiedad de estado es igual a EntityLoader.Ready, es igual a null en caso contrario.

source : url

Contiene la url de origen.

status : Status

Mantiene el estado del cargador de entidades.

© 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.