Q3DScene#
Synopsis#
Properties#
Functions#
def
activeCamera
()def
activeLight
()def
devicePixelRatio
()def
graphPositionQuery
()def
isPointInPrimarySubView
(point)def
isPointInSecondarySubView
(point)def
isSecondarySubviewOnTop
()def
isSlicingActive
()def
primarySubViewport
()def
secondarySubViewport
()def
selectionQueryPosition
()def
setActiveCamera
(camera)def
setActiveLight
(light)def
setDevicePixelRatio
(pixelRatio)def
setGraphPositionQuery
(point)def
setPrimarySubViewport
(primarySubViewport)def
setSecondarySubViewport
(secondarySubViewport)def
setSecondarySubviewOnTop
(isSecondaryOnTop)def
setSelectionQueryPosition
(point)def
setSlicingActive
(isSlicing)def
viewport
()
Signals#
def
activeCameraChanged
(camera)def
activeLightChanged
(light)def
devicePixelRatioChanged
(pixelRatio)def
graphPositionQueryChanged
(position)def
primarySubViewportChanged
(subViewport)def
secondarySubViewportChanged
(subViewport)def
secondarySubviewOnTopChanged
(isSecondaryOnTop)def
selectionQueryPositionChanged
(position)def
slicingActiveChanged
(isSlicingActive)def
viewportChanged
(viewport)
Static functions#
def
invalidSelectionPoint
()
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.Q3DScene([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.Q3DScene.activeCamera: PySide6.QtGraphs.Q3DCamera#
- Access functions:
activeCamera
()setActiveCamera
(camera)Signal
activeCameraChanged
(camera)
- property PᅟySide6.QtGraphs.Q3DScene.activeLight: PySide6.QtGraphs.Q3DLight#
- Access functions:
activeLight
()setActiveLight
(light)Signal
activeLightChanged
(light)
- property PᅟySide6.QtGraphs.Q3DScene.devicePixelRatio: float#
- Access functions:
setDevicePixelRatio
(pixelRatio)Signal
devicePixelRatioChanged
(pixelRatio)
- property PᅟySide6.QtGraphs.Q3DScene.graphPositionQuery: PySide6.QtCore.QPoint#
- Access functions:
setGraphPositionQuery
(point)Signal
graphPositionQueryChanged
(position)
- property PᅟySide6.QtGraphs.Q3DScene.primarySubViewport: PySide6.QtCore.QRect#
- Access functions:
setPrimarySubViewport
(primarySubViewport)Signal
primarySubViewportChanged
(subViewport)
- property PᅟySide6.QtGraphs.Q3DScene.secondarySubViewport: PySide6.QtCore.QRect#
- Access functions:
setSecondarySubViewport
(secondarySubViewport)Signal
secondarySubViewportChanged
(subViewport)
- property PᅟySide6.QtGraphs.Q3DScene.secondarySubviewOnTop: bool#
- Access functions:
setSecondarySubviewOnTop
(isSecondaryOnTop)Signal
secondarySubviewOnTopChanged
(isSecondaryOnTop)
- property PᅟySide6.QtGraphs.Q3DScene.selectionQueryPosition: PySide6.QtCore.QPoint#
- Access functions:
setSelectionQueryPosition
(point)Signal
selectionQueryPositionChanged
(position)
- property PᅟySide6.QtGraphs.Q3DScene.slicingActive: bool#
- Access functions:
setSlicingActive
(isSlicing)Signal
slicingActiveChanged
(isSlicingActive)
- property PᅟySide6.QtGraphs.Q3DScene.viewport: PySide6.QtCore.QRect#
- Access functions:
viewport
()Signal
viewportChanged
(viewport)
- PySide6.QtGraphs.Q3DScene.activeCamera()#
- Return type:
Getter of property activeCamera
.
- PySide6.QtGraphs.Q3DScene.activeCameraChanged(camera)#
- Parameters:
camera –
PySide6.QtGraphs.Q3DCamera
Notification signal of property activeCamera
.
- PySide6.QtGraphs.Q3DScene.activeLight()#
- Return type:
Getter of property activeLight
.
- PySide6.QtGraphs.Q3DScene.activeLightChanged(light)#
- Parameters:
light –
PySide6.QtGraphs.Q3DLight
Notification signal of property activeLight
.
- PySide6.QtGraphs.Q3DScene.devicePixelRatio()#
- Return type:
float
Getter of property devicePixelRatio
.
- PySide6.QtGraphs.Q3DScene.devicePixelRatioChanged(pixelRatio)#
- Parameters:
pixelRatio – float
Notification signal of property devicePixelRatio
.
- PySide6.QtGraphs.Q3DScene.graphPositionQuery()#
- Return type:
Getter of property graphPositionQuery
.
- PySide6.QtGraphs.Q3DScene.graphPositionQueryChanged(position)#
- Parameters:
position –
PySide6.QtCore.QPoint
Notification signal of property graphPositionQuery
.
- static PySide6.QtGraphs.Q3DScene.invalidSelectionPoint()#
- Return type:
- PySide6.QtGraphs.Q3DScene.isPointInPrimarySubView(point)#
- Parameters:
point –
PySide6.QtCore.QPoint
- Return type:
bool
- PySide6.QtGraphs.Q3DScene.isPointInSecondarySubView(point)#
- Parameters:
point –
PySide6.QtCore.QPoint
- Return type:
bool
- PySide6.QtGraphs.Q3DScene.isSecondarySubviewOnTop()#
- Return type:
bool
Getter of property secondarySubviewOnTop
.
- PySide6.QtGraphs.Q3DScene.isSlicingActive()#
- Return type:
bool
Getter of property slicingActive
.
- PySide6.QtGraphs.Q3DScene.primarySubViewport()#
- Return type:
Getter of property primarySubViewport
.
- PySide6.QtGraphs.Q3DScene.primarySubViewportChanged(subViewport)#
- Parameters:
subViewport –
PySide6.QtCore.QRect
Notification signal of property primarySubViewport
.
- PySide6.QtGraphs.Q3DScene.secondarySubViewport()#
- Return type:
Getter of property secondarySubViewport
.
- PySide6.QtGraphs.Q3DScene.secondarySubViewportChanged(subViewport)#
- Parameters:
subViewport –
PySide6.QtCore.QRect
Notification signal of property secondarySubViewport
.
- PySide6.QtGraphs.Q3DScene.secondarySubviewOnTopChanged(isSecondaryOnTop)#
- Parameters:
isSecondaryOnTop – bool
Notification signal of property secondarySubviewOnTop
.
- PySide6.QtGraphs.Q3DScene.selectionQueryPosition()#
- Return type:
Getter of property selectionQueryPosition
.
- PySide6.QtGraphs.Q3DScene.selectionQueryPositionChanged(position)#
- Parameters:
position –
PySide6.QtCore.QPoint
Notification signal of property selectionQueryPosition
.
- PySide6.QtGraphs.Q3DScene.setActiveCamera(camera)#
- Parameters:
camera –
PySide6.QtGraphs.Q3DCamera
Setter of property activeCamera
.
- PySide6.QtGraphs.Q3DScene.setActiveLight(light)#
- Parameters:
light –
PySide6.QtGraphs.Q3DLight
Setter of property activeLight
.
- PySide6.QtGraphs.Q3DScene.setDevicePixelRatio(pixelRatio)#
- Parameters:
pixelRatio – float
Setter of property devicePixelRatio
.
- PySide6.QtGraphs.Q3DScene.setGraphPositionQuery(point)#
- Parameters:
point –
PySide6.QtCore.QPoint
Setter of property graphPositionQuery
.
- PySide6.QtGraphs.Q3DScene.setPrimarySubViewport(primarySubViewport)#
- Parameters:
primarySubViewport –
PySide6.QtCore.QRect
Setter of property primarySubViewport
.
- PySide6.QtGraphs.Q3DScene.setSecondarySubViewport(secondarySubViewport)#
- Parameters:
secondarySubViewport –
PySide6.QtCore.QRect
Setter of property secondarySubViewport
.
- PySide6.QtGraphs.Q3DScene.setSecondarySubviewOnTop(isSecondaryOnTop)#
- Parameters:
isSecondaryOnTop – bool
Setter of property secondarySubviewOnTop
.
- PySide6.QtGraphs.Q3DScene.setSelectionQueryPosition(point)#
- Parameters:
point –
PySide6.QtCore.QPoint
Setter of property selectionQueryPosition
.
- PySide6.QtGraphs.Q3DScene.setSlicingActive(isSlicing)#
- Parameters:
isSlicing – bool
Setter of property slicingActive
.
- PySide6.QtGraphs.Q3DScene.slicingActiveChanged(isSlicingActive)#
- Parameters:
isSlicingActive – bool
Notification signal of property slicingActive
.
- PySide6.QtGraphs.Q3DScene.viewport()#
- Return type:
Getter of property viewport
.
- PySide6.QtGraphs.Q3DScene.viewportChanged(viewport)#
- Parameters:
viewport –
PySide6.QtCore.QRect
Notification signal of property viewport
.