class Q3DCamera#

Inheritance diagram of PySide6.QtGraphs.Q3DCamera

Synopsis#

Properties#

Methods#

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#

class CameraPreset#

Note

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

property cameraPresetᅟ: Q3DCamera.CameraPreset#
Access functions:
property maxZoomLevelᅟ: float#
Access functions:
property minZoomLevelᅟ: float#
Access functions:
property targetᅟ: QVector3D#
Access functions:
property wrapXRotationᅟ: bool#
Access functions:
property wrapYRotationᅟ: bool#
Access functions:
property xRotationᅟ: float#
Access functions:
property yRotationᅟ: float#
Access functions:
property zoomLevelᅟ: float#
Access functions:
__init__([parent=None])#
Parameters:

parentQObject

cameraPreset()#
Return type:

CameraPreset

Getter of property cameraPresetᅟ .

cameraPresetChanged(preset)#
Parameters:

presetCameraPreset

Notification signal of property cameraPresetᅟ .

maxXRotationChanged(rotation)#
Parameters:

rotation – float

maxYRotationChanged(rotation)#
Parameters:

rotation – float

maxZoomLevel()#
Return type:

float

Getter of property maxZoomLevelᅟ .

maxZoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property maxZoomLevelᅟ .

minXRotationChanged(rotation)#
Parameters:

rotation – float

minYRotationChanged(rotation)#
Parameters:

rotation – float

minZoomLevel()#
Return type:

float

Getter of property minZoomLevelᅟ .

minZoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property minZoomLevelᅟ .

setCameraPosition(horizontal, vertical[, zoom=100.0f])#
Parameters:
  • horizontal – float

  • vertical – float

  • zoom – float

setCameraPreset(preset)#
Parameters:

presetCameraPreset

Setter of property cameraPresetᅟ .

setMaxZoomLevel(zoomLevel)#
Parameters:

zoomLevel – float

Setter of property maxZoomLevelᅟ .

setMinZoomLevel(zoomLevel)#
Parameters:

zoomLevel – float

Setter of property minZoomLevelᅟ .

setTarget(target)#
Parameters:

targetQVector3D

Setter of property targetᅟ .

setWrapXRotation(isEnabled)#
Parameters:

isEnabled – bool

Setter of property wrapXRotationᅟ .

setWrapYRotation(isEnabled)#
Parameters:

isEnabled – bool

Setter of property wrapYRotationᅟ .

setXRotation(rotation)#
Parameters:

rotation – float

Setter of property xRotationᅟ .

setYRotation(rotation)#
Parameters:

rotation – float

Setter of property yRotationᅟ .

setZoomLevel(zoomLevel)#
Parameters:

zoomLevel – float

Setter of property zoomLevelᅟ .

target()#
Return type:

QVector3D

Getter of property targetᅟ .

targetChanged(target)#
Parameters:

targetQVector3D

Notification signal of property targetᅟ .

viewMatrixAutoUpdateChanged(enabled)#
Parameters:

enabled – bool

viewMatrixChanged(viewMatrix)#
Parameters:

viewMatrixQMatrix4x4

wrapXRotation()#
Return type:

bool

Getter of property wrapXRotationᅟ .

wrapXRotationChanged(isEnabled)#
Parameters:

isEnabled – bool

Notification signal of property wrapXRotationᅟ .

wrapYRotation()#
Return type:

bool

Getter of property wrapYRotationᅟ .

wrapYRotationChanged(isEnabled)#
Parameters:

isEnabled – bool

Notification signal of property wrapYRotationᅟ .

xRotation()#
Return type:

float

Getter of property xRotationᅟ .

xRotationChanged(rotation)#
Parameters:

rotation – float

Notification signal of property xRotationᅟ .

yRotation()#
Return type:

float

Getter of property yRotationᅟ .

yRotationChanged(rotation)#
Parameters:

rotation – float

Notification signal of property yRotationᅟ .

zoomLevel()#
Return type:

float

Getter of property zoomLevelᅟ .

zoomLevelChanged(zoomLevel)#
Parameters:

zoomLevel – float

Notification signal of property zoomLevelᅟ .