class Q3DScene#

Inheritance diagram of PySide6.QtGraphs.Q3DScene

Synopsis#

Properties#

Methods#

Signals#

Static functions#

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#

Note

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

property activeCameraᅟ: Q3DCamera#
Access functions:
property activeLightᅟ: Q3DLight#
Access functions:
property devicePixelRatioᅟ: float#
Access functions:
property graphPositionQueryᅟ: QPoint#
Access functions:
property primarySubViewportᅟ: QRect#
Access functions:
property secondarySubViewportᅟ: QRect#
Access functions:
property secondarySubviewOnTopᅟ: bool#
Access functions:
property selectionQueryPositionᅟ: QPoint#
Access functions:
property slicingActiveᅟ: bool#
Access functions:
property viewportᅟ: QRect#
Access functions:
__init__([parent=None])#
Parameters:

parentQObject

activeCamera()#
Return type:

Q3DCamera

Getter of property activeCameraᅟ .

activeCameraChanged(camera)#
Parameters:

cameraQ3DCamera

Notification signal of property activeCameraᅟ .

activeLight()#
Return type:

Q3DLight

Getter of property activeLightᅟ .

activeLightChanged(light)#
Parameters:

lightQ3DLight

Notification signal of property activeLightᅟ .

devicePixelRatio()#
Return type:

float

Getter of property devicePixelRatioᅟ .

devicePixelRatioChanged(pixelRatio)#
Parameters:

pixelRatio – float

Notification signal of property devicePixelRatioᅟ .

graphPositionQuery()#
Return type:

QPoint

Getter of property graphPositionQueryᅟ .

graphPositionQueryChanged(position)#
Parameters:

positionQPoint

Notification signal of property graphPositionQueryᅟ .

static invalidSelectionPoint()#
Return type:

QPoint

isPointInPrimarySubView(point)#
Parameters:

pointQPoint

Return type:

bool

isPointInSecondarySubView(point)#
Parameters:

pointQPoint

Return type:

bool

isSecondarySubviewOnTop()#
Return type:

bool

Getter of property secondarySubviewOnTopᅟ .

isSlicingActive()#
Return type:

bool

Getter of property slicingActiveᅟ .

primarySubViewport()#
Return type:

QRect

Getter of property primarySubViewportᅟ .

primarySubViewportChanged(subViewport)#
Parameters:

subViewportQRect

Notification signal of property primarySubViewportᅟ .

secondarySubViewport()#
Return type:

QRect

Getter of property secondarySubViewportᅟ .

secondarySubViewportChanged(subViewport)#
Parameters:

subViewportQRect

Notification signal of property secondarySubViewportᅟ .

secondarySubviewOnTopChanged(isSecondaryOnTop)#
Parameters:

isSecondaryOnTop – bool

Notification signal of property secondarySubviewOnTopᅟ .

selectionQueryPosition()#
Return type:

QPoint

Getter of property selectionQueryPositionᅟ .

selectionQueryPositionChanged(position)#
Parameters:

positionQPoint

Notification signal of property selectionQueryPositionᅟ .

setActiveCamera(camera)#
Parameters:

cameraQ3DCamera

Setter of property activeCameraᅟ .

setActiveLight(light)#
Parameters:

lightQ3DLight

Setter of property activeLightᅟ .

setDevicePixelRatio(pixelRatio)#
Parameters:

pixelRatio – float

Setter of property devicePixelRatioᅟ .

setGraphPositionQuery(point)#
Parameters:

pointQPoint

Setter of property graphPositionQueryᅟ .

setPrimarySubViewport(primarySubViewport)#
Parameters:

primarySubViewportQRect

Setter of property primarySubViewportᅟ .

setSecondarySubViewport(secondarySubViewport)#
Parameters:

secondarySubViewportQRect

Setter of property secondarySubViewportᅟ .

setSecondarySubviewOnTop(isSecondaryOnTop)#
Parameters:

isSecondaryOnTop – bool

Setter of property secondarySubviewOnTopᅟ .

setSelectionQueryPosition(point)#
Parameters:

pointQPoint

Setter of property selectionQueryPositionᅟ .

setSlicingActive(isSlicing)#
Parameters:

isSlicing – bool

Setter of property slicingActiveᅟ .

slicingActiveChanged(isSlicingActive)#
Parameters:

isSlicingActive – bool

Notification signal of property slicingActiveᅟ .

viewport()#
Return type:

QRect

Getter of property viewportᅟ .

viewportChanged(viewport)#
Parameters:

viewportQRect

Notification signal of property viewportᅟ .