NoPicking QML Type
Quando in un ramo di FrameGraph è presente un nodo NoPicking, ciò impedisce all'aspetto di rendering di eseguire la selezione tramite picking per il ramo in questione. Maggiori informazioni...
| Import Statement: | import Qt3D.Render 2.12 |
| In C++: | QNoPicking |
| Inherits: | |
| Status: | Deprecated |
Questo tipo è deprecato. Si sconsiglia vivamente di utilizzarlo nel codice nuovo.
Descrizione dettagliata
Quando è disabilitato, un nodo NoPicking non impedisce l'esecuzione del picking. Attivare o disattivare la proprietà enabled è quindi un modo per rendere attivo o inattivo un nodo NoPicking.
Quando si utilizzano più subviewport nel FrameGraph, NoPicking può essere utile per evitare conflitti di selezione tra viewport sovrapposti o non visibili. Può anche essere utilizzato come ottimizzazione per evitare lavoro superfluo per i viewport nascosti o per sezioni delle scene che non richiedono alcuna selezione.
Viewport {
CameraSelector {
NoPicking {
ClearBuffers {
buffers: ClearBuffers.ColorDepthBuffer
NoDraw { } // Prevents from drawing anything
}
RenderPassFilter {
...
}
RenderPassFilter {
...
}
}
}
}Vedi anche ObjectPicker, RayCaster e ScreenRayCaster.
© 2026 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.