Q3DCamera#
Synopsis#
Properties#
Functions#
def
cameraPreset
()def
maxZoomLevel
()def
minZoomLevel
()def
setCameraPosition
(horizontal, vertical[, zoom=100.0f])def
setCameraPreset
(preset)def
setMaxZoomLevel
(zoomLevel)def
setMinZoomLevel
(zoomLevel)def
setTarget
(target)def
setWrapXRotation
(isEnabled)def
setWrapYRotation
(isEnabled)def
setXRotation
(rotation)def
setYRotation
(rotation)def
setZoomLevel
(zoomLevel)def
target
()def
wrapXRotation
()def
wrapYRotation
()def
xRotation
()def
yRotation
()def
zoomLevel
()
Signals#
def
cameraPresetChanged
(preset)def
maxXRotationChanged
(rotation)def
maxYRotationChanged
(rotation)def
maxZoomLevelChanged
(zoomLevel)def
minXRotationChanged
(rotation)def
minYRotationChanged
(rotation)def
minZoomLevelChanged
(zoomLevel)def
targetChanged
(target)def
viewMatrixAutoUpdateChanged
(enabled)def
viewMatrixChanged
(viewMatrix)def
wrapXRotationChanged
(isEnabled)def
wrapYRotationChanged
(isEnabled)def
xRotationChanged
(rotation)def
yRotationChanged
(rotation)def
zoomLevelChanged
(zoomLevel)
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#
- class PySide6.QtGraphs.Q3DCamera([parent=None])#
- Parameters:
parent –
PySide6.QtCore.QObject
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.QtGraphs.Q3DCamera.cameraPreset: CameraPreset#
- Access functions:
cameraPreset
()setCameraPreset
(preset)Signal
cameraPresetChanged
(preset)
- property PᅟySide6.QtGraphs.Q3DCamera.maxZoomLevel: float#
- Access functions:
maxZoomLevel
()setMaxZoomLevel
(zoomLevel)Signal
maxZoomLevelChanged
(zoomLevel)
- property PᅟySide6.QtGraphs.Q3DCamera.minZoomLevel: float#
- Access functions:
minZoomLevel
()setMinZoomLevel
(zoomLevel)Signal
minZoomLevelChanged
(zoomLevel)
- property PᅟySide6.QtGraphs.Q3DCamera.target: PySide6.QtGui.QVector3D#
- Access functions:
target
()setTarget
(target)Signal
targetChanged
(target)
- property PᅟySide6.QtGraphs.Q3DCamera.wrapXRotation: bool#
- Access functions:
setWrapXRotation
(isEnabled)Signal
wrapXRotationChanged
(isEnabled)
- property PᅟySide6.QtGraphs.Q3DCamera.wrapYRotation: bool#
- Access functions:
setWrapYRotation
(isEnabled)Signal
wrapYRotationChanged
(isEnabled)
- property PᅟySide6.QtGraphs.Q3DCamera.xRotation: float#
- Access functions:
xRotation
()setXRotation
(rotation)Signal
xRotationChanged
(rotation)
- property PᅟySide6.QtGraphs.Q3DCamera.yRotation: float#
- Access functions:
yRotation
()setYRotation
(rotation)Signal
yRotationChanged
(rotation)
- property PᅟySide6.QtGraphs.Q3DCamera.zoomLevel: float#
- Access functions:
zoomLevel
()setZoomLevel
(zoomLevel)Signal
zoomLevelChanged
(zoomLevel)
- PySide6.QtGraphs.Q3DCamera.CameraPreset#
- PySide6.QtGraphs.Q3DCamera.cameraPreset()#
- Return type:
Getter of property cameraPreset
.
- PySide6.QtGraphs.Q3DCamera.cameraPresetChanged(preset)#
- Parameters:
preset –
CameraPreset
Notification signal of property cameraPreset
.
- PySide6.QtGraphs.Q3DCamera.maxXRotationChanged(rotation)#
- Parameters:
rotation – float
- PySide6.QtGraphs.Q3DCamera.maxYRotationChanged(rotation)#
- Parameters:
rotation – float
- PySide6.QtGraphs.Q3DCamera.maxZoomLevel()#
- Return type:
float
Getter of property maxZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.maxZoomLevelChanged(zoomLevel)#
- Parameters:
zoomLevel – float
Notification signal of property maxZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.minXRotationChanged(rotation)#
- Parameters:
rotation – float
- PySide6.QtGraphs.Q3DCamera.minYRotationChanged(rotation)#
- Parameters:
rotation – float
- PySide6.QtGraphs.Q3DCamera.minZoomLevel()#
- Return type:
float
Getter of property minZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.minZoomLevelChanged(zoomLevel)#
- Parameters:
zoomLevel – float
Notification signal of property minZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.setCameraPosition(horizontal, vertical[, zoom=100.0f])#
- Parameters:
horizontal – float
vertical – float
zoom – float
- PySide6.QtGraphs.Q3DCamera.setCameraPreset(preset)#
- Parameters:
preset –
CameraPreset
Setter of property cameraPreset
.
- PySide6.QtGraphs.Q3DCamera.setMaxZoomLevel(zoomLevel)#
- Parameters:
zoomLevel – float
Setter of property maxZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.setMinZoomLevel(zoomLevel)#
- Parameters:
zoomLevel – float
Setter of property minZoomLevel
.
- PySide6.QtGraphs.Q3DCamera.setTarget(target)#
- Parameters:
target –
PySide6.QtGui.QVector3D
Setter of property target
.
- PySide6.QtGraphs.Q3DCamera.setWrapXRotation(isEnabled)#
- Parameters:
isEnabled – bool
Setter of property wrapXRotation
.
- PySide6.QtGraphs.Q3DCamera.setWrapYRotation(isEnabled)#
- Parameters:
isEnabled – bool
Setter of property wrapYRotation
.
- PySide6.QtGraphs.Q3DCamera.setXRotation(rotation)#
- Parameters:
rotation – float
Setter of property xRotation
.
- PySide6.QtGraphs.Q3DCamera.setYRotation(rotation)#
- Parameters:
rotation – float
Setter of property yRotation
.
- PySide6.QtGraphs.Q3DCamera.setZoomLevel(zoomLevel)#
- Parameters:
zoomLevel – float
Setter of property zoomLevel
.
- PySide6.QtGraphs.Q3DCamera.target()#
- Return type:
Getter of property target
.
- PySide6.QtGraphs.Q3DCamera.targetChanged(target)#
- Parameters:
target –
PySide6.QtGui.QVector3D
Notification signal of property target
.
- PySide6.QtGraphs.Q3DCamera.viewMatrixAutoUpdateChanged(enabled)#
- Parameters:
enabled – bool
- PySide6.QtGraphs.Q3DCamera.viewMatrixChanged(viewMatrix)#
- Parameters:
viewMatrix –
PySide6.QtGui.QMatrix4x4
- PySide6.QtGraphs.Q3DCamera.wrapXRotation()#
- Return type:
bool
Getter of property wrapXRotation
.
- PySide6.QtGraphs.Q3DCamera.wrapXRotationChanged(isEnabled)#
- Parameters:
isEnabled – bool
Notification signal of property wrapXRotation
.
- PySide6.QtGraphs.Q3DCamera.wrapYRotation()#
- Return type:
bool
Getter of property wrapYRotation
.
- PySide6.QtGraphs.Q3DCamera.wrapYRotationChanged(isEnabled)#
- Parameters:
isEnabled – bool
Notification signal of property wrapYRotation
.
- PySide6.QtGraphs.Q3DCamera.xRotation()#
- Return type:
float
Getter of property xRotation
.
- PySide6.QtGraphs.Q3DCamera.xRotationChanged(rotation)#
- Parameters:
rotation – float
Notification signal of property xRotation
.
- PySide6.QtGraphs.Q3DCamera.yRotation()#
- Return type:
float
Getter of property yRotation
.
- PySide6.QtGraphs.Q3DCamera.yRotationChanged(rotation)#
- Parameters:
rotation – float
Notification signal of property yRotation
.
- PySide6.QtGraphs.Q3DCamera.zoomLevel()#
- Return type:
float
Getter of property zoomLevel
.
- PySide6.QtGraphs.Q3DCamera.zoomLevelChanged(zoomLevel)#
- Parameters:
zoomLevel – float
Notification signal of property zoomLevel
.