QCameraSelector#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QCameraSelector

Synopsis#

Properties#

Functions#

Slots#

Signals#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

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.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property PᅟySide6.Qt3DRender.Qt3DRender.QCameraSelector.camera: PySide6.Qt3DCore.Qt3DCore.QEntity#

Holds the currently selected camera.

Access functions:
PySide6.Qt3DRender.Qt3DRender.QCameraSelector.camera()#
Return type:

PySide6.Qt3DCore.Qt3DCore.QEntity

See also

setCamera()

Getter of property camera .

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

cameraPySide6.Qt3DCore.Qt3DCore.QEntity

Notification signal of property camera .

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

cameraPySide6.Qt3DCore.Qt3DCore.QEntity

See also

camera()

Setter of property camera .