|CMake:||find_package(Qt6 REQUIRED COMPONENTS 3dcore)
target_link_libraries(mytarget PRIVATE Qt6::3dcore)
|qmake:||QT += 3dcore|
Qt3DAnimation::QAbstractClipAnimator, Qt3DCore::QArmature, Qt3DCore::QBoundingVolume, Qt3DCore::QCoreSettings, 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::QLayer, Qt3DRender::QLevelOfDetail, Qt3DRender::QMaterial, Qt3DRender::QObjectPicker, Qt3DRender::QRenderSettings, Qt3DRender::QRenderTarget, Qt3DRender::QSceneLoader, and Qt3DRender::QShaderData
|QComponent(Qt3DCore::QNode *parent = nullptr)|
|QList<Qt3DCore::QEntity *>||entities() const|
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.
Constructs a new QComponent instance with parent as the parent.
Note: a QComponent should never be instanced directly, instance one of the subclasses instead.
[signal]void QComponent::addedToEntity(Qt3DCore::QEntity *entity)
Indicates that a reference has been added to entity.
[signal]void QComponent::removedFromEntity(Qt3DCore::QEntity *entity)
Indicates that a reference has been removed from entity.
Returns a QList containing all the entities that reference this component.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: