En esta página

NoPicking QML Type

Cuando un nodo NoPicking está presente en una rama de FrameGraph, esto impide que el aspecto de renderizado realice la selección de picking para la rama dada. Más...

Import Statement: import Qt3D.Render 2.11
In C++: QNoPicking
Inherits:

FrameGraphNode

Status: Deprecated

Descripción detallada

Cuando está desactivado, un nodo NoPicking no impide que se realice la selección. Alternar la propiedad enabled es, por tanto, una forma de hacer que un NoPicking esté activo o inactivo.

Cuando se utilizan múltiples subviewports en el FrameGraph, NoPicking puede ser útil para prevenir conflictos de picking entre viewports solapados o no visuales. También se puede utilizar como una optimización para evitar el trabajo innecesario para los viewports ocultos o para las secciones de las escenas que no requieren ningún picking.

Viewport {
    CameraSelector {
        NoPicking {
            ClearBuffers {
                buffers: ClearBuffers.ColorDepthBuffer
                NoDraw { } // Prevents from drawing anything
            }
            RenderPassFilter {
                ...
            }
            RenderPassFilter {
                ...
            }
        }
    }
}

Véase también ObjectPicker, RayCaster, y 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.