QCameraSelector#
Class to allow for selection of camera to be used. More…
Synopsis#
Properties#
Functions#
def
camera
()
Slots#
def
setCamera
(camera)
Signals#
def
cameraChanged
(camera)
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:
parent –
PySide6.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:
camera
()setCamera
(camera)Signal
cameraChanged
(camera)
- PySide6.Qt3DRender.Qt3DRender.QCameraSelector.camera()#
- Return type:
See also
Getter of property camera
.
- PySide6.Qt3DRender.Qt3DRender.QCameraSelector.cameraChanged(camera)#
- Parameters:
camera –
PySide6.Qt3DCore.Qt3DCore.QEntity
Notification signal of property camera
.
- PySide6.Qt3DRender.Qt3DRender.QCameraSelector.setCamera(camera)#
- Parameters:
camera –
PySide6.Qt3DCore.Qt3DCore.QEntity
See also
Setter of property camera
.