QNoPicking Class class Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking When a Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking node is present in a FrameGraph branch, this prevents the render aspect from performing picking selection for the given branch. More...  
 Header:
 #include <QNoPicking> 


 CMake:
 find_package(Qt6 COMPONENTS 3drender REQUIRED)  target_link_libraries(mytarget PRIVATE Qt8b7c:f320:99b9:690f:4595:cd17:293a:c0693drender)


 qmake:
 QT += 3drender


 Since:
 Qt 5.14


 Instantiated By:
 NoPicking



 Inherits:
 Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QFrameGraphNode



 List of all members, including inherited members  Detailed Description
 When disabled, a Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking node won't prevent picking from being performed. Toggling the enabled property is therefore a way to make a Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking active or inactive. When using multiple subviewports in the FrameGraph, QNoPicking can be useful to prevent picking conflicts between overlapping viewports or non visual ones. It can also be used as an optimization to prevent unnecessary work for hidden viewports or for sections of the scenes which don't require any picking. Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QViewport *viewport = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QViewport();
Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCameraSelector *cameraSelector = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QCameraSelector(viewport);
Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking *noPicking = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QNoPicking(cameraSelector);

Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QClearBuffers *clearBuffers = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QClearBuffers(noPicking);
clearBuffers->setBuffers(Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QClearBuffers8b7c:f320:99b9:690f:4595:cd17:293a:c069olorDepthBuffer);

Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QRenderPassFilter *mainPass = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QRenderPassFilter(cameraSelector);
....
Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QRenderPassFilter *previewPass = new Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QRenderPassFilter(cameraSelector);
.... See also Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QObjectPicker, Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QRayCaster, and Qt3DRender8b7c:f320:99b9:690f:4595:cd17:293a:c069QScreenRayCaster.

    
{'path': 'public/docs/qt~6.0/qt3drender-qnopicking.html', 'source': 'DevDocs.IO'}