PySide6.Qt3DRender.Qt3DRender.QCameraSelector¶
- class QCameraSelector¶
- Class to allow for selection of camera to be used. More… - Synopsis¶- Properties¶- Methods¶- def - __init__()
- def - camera()
 - Slots¶- def - setCamera()
 - Signals¶- def - cameraChanged()
 - 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 - QCameraSelectorcan 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_propertyis used or via accessor functions otherwise.- Holds the currently selected camera. - Access functions:
- Signal - cameraChanged()
 
 - __init__([parent=None])¶
- Parameters:
- parent – - QNode
 
 - The constructor creates an instance with the specified - parent.- camera()¶
- Return type:
- QEntity
 - See also - setCamera()
 - Getter of property - cameraᅟ.- cameraChanged(camera)¶
- Parameters:
- camera – - QEntity
 
 - Notification signal of property - cameraᅟ.- setCamera(camera)¶
- Parameters:
- camera – - QEntity
 - See also - camera()
 - Setter of property - cameraᅟ.