Entity QML Type
Entity is a Node subclass that can aggregate several Component3D instances that will specify its behavior. More...
Import Statement: | import Qt3D.Core 2.12 |
Since: | Qt 5.5 |
Instantiates: | QEntity |
Inherits: | |
Inherited By: |
Properties
- components : list<Component3D>
Detailed Description
By itself a Entity is an empty shell. The behavior of a Entity object is defined by the Component3D objects it references. Each Qt3D backend aspect will be able to interpret and process an Entity by recognizing which components it is made up of. One aspect may decide to only process entities composed of a single Transform component whilst another may focus on MouseHandler.
See also Qt3D.Core::Component3D and Qt3D.Core::Transform.
Property Documentation
[read-only] components : list<Component3D> |
Holds the list of Component3D instances, which define the behavior of the entity.
© 2021 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.