QRenderSettings#
The QRenderSettings
class holds settings related to rendering process and host the active FrameGraph . More…
Synopsis#
Properties#
Functions#
def
activeFrameGraph
()def
pickingSettings
()def
renderCapabilities
()def
renderPolicy
()
Slots#
def
setActiveFrameGraph
(activeFrameGraph)def
setRenderPolicy
(renderPolicy)
Signals#
def
activeFrameGraphChanged
(activeFrameGraph)def
renderPolicyChanged
(renderPolicy)
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#
The QRenderSettings
component must be set as a component of the scene root entity. It specifies render policy and picking settings, as well as hosts the active FrameGraph .
- class PySide6.Qt3DRender.Qt3DRender.QRenderSettings([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraph: PySide6.Qt3DRender.Qt3DRender.QFrameGraphNode#
Holds the currently active FrameGraph .
- Access functions:
setActiveFrameGraph
(activeFrameGraph)Signal
activeFrameGraphChanged
(activeFrameGraph)
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderSettings.pickingSettings: PySide6.Qt3DRender.Qt3DRender.QPickingSettings#
Holds the current pick settings for the FrameGraph .
- Access functions:
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderSettings.renderCapabilities: PySide6.Qt3DRender.Qt3DRender.QRenderCapabilities#
Holds the details of the supported rendering engine
- Access functions:
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicy: RenderPolicy#
Holds the current render policy.
- Access functions:
renderPolicy
()setRenderPolicy
(renderPolicy)Signal
renderPolicyChanged
(renderPolicy)
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.RenderPolicy#
The render policy.
Constant
Description
Qt3DRender.QRenderSettings.OnDemand
The FrameGraph is rendered only when something changes.
Qt3DRender.QRenderSettings.Always
The FrameGraph is rendered continuously, even if nothing has changed.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraph()#
- Return type:
See also
Getter of property activeFrameGraph
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraphChanged(activeFrameGraph)#
- Parameters:
activeFrameGraph –
PySide6.Qt3DRender.Qt3DRender.QFrameGraphNode
Notification signal of property activeFrameGraph
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.pickingSettings()#
- Return type:
Getter of property pickingSettings
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.renderCapabilities()#
- Return type:
Getter of property renderCapabilities
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicy()#
- Return type:
See also
Getter of property renderPolicy
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicyChanged(renderPolicy)#
- Parameters:
renderPolicy –
RenderPolicy
Notification signal of property renderPolicy
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.setActiveFrameGraph(activeFrameGraph)#
- Parameters:
activeFrameGraph –
PySide6.Qt3DRender.Qt3DRender.QFrameGraphNode
See also
Setter of property activeFrameGraph
.
- PySide6.Qt3DRender.Qt3DRender.QRenderSettings.setRenderPolicy(renderPolicy)#
- Parameters:
renderPolicy –
RenderPolicy
See also
Setter of property renderPolicy
.