QNodesubclass that can aggregate several
QComponentinstances that will specify its behavior. More…
By itself a
QEntityis an empty shell. The behavior of a
QEntityobject is defined by the
QComponentobjects 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
QTransformcomponent whilst another may focus on
- class PySide2.Qt3DCore.Qt3DCore.QEntity([parent=None])¶
- param parent:
Constructs a new
Adds a new reference to the component
QComponenthas no parent, the
QEntitywill set itself as its parent thereby taking ownership of the component.
- Return type:
Returns the list of
QComponentinstances the entity is referencing.
- Return type:
Returns the parent
QEntityinstance of this entity. If the immediate parent isn’t a
QEntity, this function traverses up the scene hierarchy until a parent
QEntityis found. If no
QEntityparent can be found, returns null.
© 2022 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.