|qmake:||QT += 3dcore|
|Inherited By:|| |
Qt3DAnimation::QAbstractClipAnimator, Qt3DCore::QArmature, Qt3DCore::QTransform, Qt3DInput::QAxisAccumulator, Qt3DInput::QInputSettings, Qt3DInput::QKeyboardHandler, Qt3DInput::QLogicalDevice, Qt3DInput::QMouseHandler, Qt3DLogic::QFrameAction, Qt3DRender::QAbstractLight, Qt3DRender::QAbstractRayCaster, Qt3DRender::QCameraLens, Qt3DRender::QComputeCommand, Qt3DRender::QEnvironmentLight, Qt3DRender::QGeometryRenderer, Qt3DRender::QLayer, Qt3DRender::QLevelOfDetail, Qt3DRender::QMaterial, Qt3DRender::QObjectPicker, Qt3DRender::QRenderSettings, Qt3DRender::QRenderTarget, Qt3DRender::QSceneLoader, and Qt3DRender::QShaderData
- isShareable : bool
|QComponent(Qt3DCore::QNode *parent = nullptr)|
|QVector<Qt3DCore::QEntity *>||entities() const|
- 1 static public member inherited from Qt3DCore::QNode
- 9 static public members inherited from QObject
Additional Inherited Members
- 1 public variable inherited from QObject
- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject
- 2 protected variables inherited from QObject
The base class of scene nodes that can be aggregated by Qt3DCore::QEntity instances as a component.
Qt3DCore::QComponent subclasses are often aggregated in groups that impart useful behavior to the aggregating entity. For example, to have an Entity that gets drawn by the Qt3D renderer aspect, an entity would most likely aggregate Qt3DCore::QTransform, Qt3DRender::QMesh, and Qt3DRender::QMaterial components.
See also Qt3DCore::QEntity.
Member Function Documentation
QComponent::QComponent(Qt3DCore::QNode *parent = nullptr)
>>>>>>> d682d61... Doc: Fix various documentation warnings Constructs a new QComponent instance with parent as the parent.
Note: a QComponent should never be instanced directly, instance one of the subclasses instead.
Destroys the instance of QComponent. The destructor is virtual.
[signal] void QComponent::addedToEntity(Qt3DCore::QEntity *entity)
<<<<<<< HEAD =======
Indicates that a reference has been added to entity.
QVector<Qt3DCore::QEntity *> QComponent::entities() const
Returns a QVector containing all the entities that reference this component.
[signal] void QComponent::removedFromEntity(Qt3DCore::QEntity *entity)
Indicates that a reference has been removed from entity.
© 2018 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.