Qt3DRender::QRenderCaptureReply Class
class Qt3DRender::QRenderCaptureReplyレンダリングキャプチャ要求の結果を受け取ります。詳細...
| ヘッダー: | #include <Qt3DRender/QRenderCaptureReply> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML内: | RenderCaptureReply |
| 継承元: | QObject |
| ステータス: | 非推奨 |
このクラスは非推奨です。新しいコードでの使用は強く推奨しません。
プロパティ
パブリック関数
| int | captureId() const |
| QImage | image() const |
| bool | isComplete() const |
| bool | saveImage(const QString &fileName) const |
シグナル
| void | completed() |
詳細な説明
QRenderCapture::requestCapture から画像を受け取るオブジェクト。
プロパティのドキュメント
[read-only] captureId : const int
renderCapture に渡された captureId を保持します。
アクセス関数:
| int | captureId() const |
[read-only] complete : bool
レンダーキャプチャの完全な状態を保持します。
アクセス関数:
| bool | isComplete() const |
通知シグナル:
| void | completed() |
[read-only] image : const QImage
レンダーキャプチャの結果として生成された画像を保持します。
アクセス関数:
| QImage | image() const |
メンバ関数のドキュメント
[invokable] bool QRenderCaptureReply::saveImage(const QString &fileName) const
レンダリングキャプチャの結果を画像としてfileName に保存します。
画像の保存に成功した場合は true を返し、失敗した場合は false を返します。
注:この関数は 、メタオブジェクトシステムおよびQMLから呼び出すことができます。Q_INVOKABLE を参照してください。
© 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.