QCameraSelector#

Class to allow for selection of camera to be used. More

Synopsis#

Functions#

Slots#

Signals#

Detailed Description#

A QCameraSelector can be used to select the camera, which is used by the FrameGraph when drawing the entities.

class PySide6.Qt3DRender.Qt3DRender.QCameraSelector([parent=None])#
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

The constructor creates an instance with the specified parent.

PySide6.Qt3DRender.Qt3DRender.QCameraSelector.camera()#
Return type

PySide6.Qt3DCore.Qt3DCore.QEntity

Holds the currently selected camera.

PySide6.Qt3DRender.Qt3DRender.QCameraSelector.cameraChanged(camera)#
Parameters

cameraPySide6.Qt3DCore.Qt3DCore.QEntity

PySide6.Qt3DRender.Qt3DRender.QCameraSelector.setCamera(camera)#
Parameters

cameraPySide6.Qt3DCore.Qt3DCore.QEntity

Holds the currently selected camera.