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

PySide2.Qt3DCore.QNode

The constructor creates an instance with the specified parent .

PySide2.Qt3DRender.QCameraSelector.camera()
Return type

PySide2.Qt3DCore.QEntity

Holds the currently selected camera.

PySide2.Qt3DRender.QCameraSelector.cameraChanged(camera)
Parameters

cameraPySide2.Qt3DCore.QEntity

PySide2.Qt3DRender.QCameraSelector.setCamera(camera)
Parameters

cameraPySide2.Qt3DCore.QEntity

Holds the currently selected camera.