class QCameraSelector#

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QCameraSelector

Synopsis#

Properties#

Methods#

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.

Note

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

property cameraᅟ: QEntity#

Holds the currently selected camera.

Access functions:
__init__([parent=None])#
Parameters:

parentQNode

The constructor creates an instance with the specified parent.

camera()#
Return type:

QEntity

See also

setCamera()

Getter of property cameraᅟ .

cameraChanged(camera)#
Parameters:

cameraQEntity

Notification signal of property cameraᅟ .

setCamera(camera)#
Parameters:

cameraQEntity

See also

camera()

Setter of property cameraᅟ .