RenderSurfaceSelector QML Type
Proporciona una forma de especificar la superficie de renderizado. Más...
| Import Statement: | import Qt3D.Render 2.11 |
| In C++: | QRenderSurfaceSelector |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- externalRenderTargetSize : size
- surface : QSurface
- surfacePixelRatio : real
Descripción Detallada
El RenderSurfaceSelector se puede utilizar para seleccionar la superficie, donde Qt3D renderiza el contenido. La superficie puede ser una superficie de ventana o una superficie fuera de pantalla. El externalRenderTargetSize se utiliza para especificar el tamaño real del objetivo de renderizado cuando se utiliza la superficie fuera de pantalla.
Cuando el sistema utiliza el escalado DPI, el tamaño lógico de la superficie, que es utilizado por los eventos del ratón, y el tamaño "físico" real de la superficie pueden diferir. surfacePixelRatio es el factor para convertir el tamaño lógico en tamaño físico.
Documentación de propiedades
externalRenderTargetSize : size
Mantiene el tamaño del objetivo de render externo.
surface : QSurface
Sujeta la superficie.
surfacePixelRatio : real
Mantiene el surfacePixelRatio de la superficie.
© 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.