QCameraSelector

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

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QCameraSelector

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 PySide2.Qt3DRender.Qt3DRender.QCameraSelector([parent=None])

The constructor creates an instance with the specified parent .

PySide2.Qt3DRender.Qt3DRender.QCameraSelector.camera()
Return type:

PySide2.Qt3DCore.Qt3DCore.QEntity

Holds the currently selected camera.

PySide2.Qt3DRender.Qt3DRender.QCameraSelector.cameraChanged(camera)
Parameters:

cameraPySide2.Qt3DCore.Qt3DCore.QEntity

PySide2.Qt3DRender.Qt3DRender.QCameraSelector.setCamera(camera)
Parameters:

cameraPySide2.Qt3DCore.Qt3DCore.QEntity

Holds the currently selected camera.