Entity QML Type
«Entity» es una subclase de « Node » que puede agregar varias instancias de « Component3D » que determinarán su comportamiento. Más información...
| Import Statement: | import Qt3D.Core 2.12 |
| In C++: | QEntity |
| Inherits: | |
| Inherited By: | Camera, EntityLoader, FirstPersonCameraController, LevelOfDetailLoader, and OrbitCameraController |
| Status: | Deprecated |
Este tipo está en desuso. Recomendamos encarecidamente no utilizarlo en código nuevo.
Propiedades
- components : list<Component3D>
Descripción detallada
Por sí misma, una entidad es una estructura vacía. El comportamiento de un objeto Entity viene definido por los objetos « Component3D » a los que hace referencia. Cada backend de Qt3D podrá interpretar y procesar una entidad reconociendo de qué componentes está formada. Un backend puede decidir procesar únicamente entidades compuestas por un único componente « Transform », mientras que otro puede centrarse en « MouseHandler ».
Véase también Qt3D.Core::Component3D y Qt3D.Core::Transform.
Documentación sobre propiedades
components : list<Component3D> [read-only]
Contiene la lista de instancias de « Component3D », que definen el comportamiento de la entidad.
© 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.