QRenderCaptureReply

Receives the result of render capture request. More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply

Synopsis

Functions

Signals

Detailed Description

An object, which receives the image from requestCapture .

class PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply
PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.captureId()
Return type:

int

Note

This function is deprecated.

Holds the , which was passed to the renderCapture.

PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.completeChanged(isComplete)
Parameters:

isComplete – bool

Note

This function is deprecated.

PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.completed()
PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.image()
Return type:

PySide2.QtGui.QImage

Holds the image, which was produced as a result of render capture.

PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.isComplete()
Return type:

bool

Holds the complete state of the render capture.

PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.saveImage(fileName)
Parameters:

fileName – str

Return type:

bool

Saves the render capture result as an image to fileName .

Returns true if the image was successfully saved; otherwise returns false.

PySide2.Qt3DRender.Qt3DRender.QRenderCaptureReply.saveToFile(fileName)
Parameters:

fileName – str

Note

This function is deprecated.

Saves the render capture result as an image to fileName .

Deprecated in 5.9. Use saveImage() .