本页内容

RenderCaptureReply QML Type

接收渲染捕获结果。更多...

Import Statement: import Qt3D.Render 2.12
In C++: QRenderCaptureReply
Status: Deprecated

此类型已弃用。我们强烈建议不要在新代码中使用它。

属性

方法

详细说明

物业文件

captureId : int [read-only]

存储了传递给 renderCapture 的 captureId。

complete : bool [read-only]

保存了渲染捕获的完整状态。

image : variant [read-only]

保存通过渲染捕获生成的图像。

方法文档

bool saveImage(fileName)

将渲染捕获结果作为图像保存至fileName 。如果图像保存成功,则返回true;否则返回false。

© 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.