In questa pagina

Entity QML Type

Entity è una sottoclasse di ` Node ` in grado di aggregare diverse istanze di ` Component3D ` che ne determineranno il comportamento. Maggiori informazioni...

Import Statement: import Qt3D.Core 2.12
In C++: QEntity
Inherits:

Node

Inherited By:

Camera, EntityLoader, FirstPersonCameraController, LevelOfDetailLoader, and OrbitCameraController

Status: Deprecated

Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel nuovo codice.

Proprietà

Descrizione dettagliata

Di per sé, un'Entity è un contenitore vuoto. Il comportamento di un oggetto Entity è definito dagli oggetti Component3D a cui fa riferimento. Ogni backend Qt3D sarà in grado di interpretare ed elaborare un'Entity riconoscendo i componenti di cui è composta. Un backend potrebbe decidere di elaborare solo entità composte da un singolo componente Transform, mentre un altro potrebbe concentrarsi su MouseHandler.

Vedi anche Qt3D.Core::Component3D e Qt3D.Core::Transform.

Documentazione sulle proprietà

components : list<Component3D> [read-only]

Contiene l'elenco delle istanze di ` Component3D `, che definiscono il comportamento dell'entità.

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