Trigger ray cast tests consecutively
问题 Following this answer, I'm doing consecutive ray casts: m_rayCaster = new Qt3DRender::QRayCaster(m_scene->rootEntity()); m_rayCaster->setRunMode(Qt3DRender::QAbstractRayCaster::SingleShot); m_scene->rootEntity()->addComponent(m_rayCaster); I have these slots to handle whether and when next consecutive ray cast test should be done: QObject::connect(m_rayCaster, &Qt3DRender::QRayCaster::hitsChanged, this, &RayCastHandler::handleRayCasterHits); QObject::connect(m_rayCaster, &Qt3DCore::QNode: