RenderSurfaceSelector QML Type
提供一种指定渲染表面的方法。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QRenderSurfaceSelector |
Inherits: | |
Status: | Deprecated |
属性
- externalRenderTargetSize : size
- surface : QSurface
- surfacePixelRatio : real
详细说明
RenderSurfaceSelector 可用于选择 Qt3D 渲染内容的表面。曲面可以是窗口曲面或屏幕外曲面。当使用离屏表面时,externalRenderTargetSize 用于指定渲染目标的实际大小。
当系统使用 DPI 缩放时,鼠标事件使用的逻辑表面尺寸和表面的实际 "物理 "尺寸可能会不同。surfacePixelRatio 是将逻辑尺寸转换为物理尺寸的系数。
属性文档
externalRenderTargetSize : size |
外部渲染目标的尺寸。
surface : QSurface |
持有曲面。
surfacePixelRatio : real |
持有曲面的表面像素比。
© 2025 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.