Qt3DRender.QRenderSettings

The QRenderSettings class holds settings related to rendering process and host the active FrameGraph . More

Inheritance diagram of PySide2.Qt3DRender.Qt3DRender.QRenderSettings

Synopsis

Functions

Slots

Signals

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 PySide2.Qt3DRender.Qt3DRender.QRenderSettings([parent=None])
Parameters

parentQNode

PySide2.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.

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraph()
Return type

QFrameGraphNode

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.activeFrameGraphChanged(activeFrameGraph)
Parameters

activeFrameGraphQFrameGraphNode

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.pickingSettings()
Return type

QPickingSettings

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicy()
Return type

RenderPolicy

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.renderPolicyChanged(renderPolicy)
Parameters

renderPolicyRenderPolicy

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.setActiveFrameGraph(activeFrameGraph)
Parameters

activeFrameGraphQFrameGraphNode

PySide2.Qt3DRender.Qt3DRender.QRenderSettings.setRenderPolicy(renderPolicy)
Parameters

renderPolicyRenderPolicy

See also

renderPolicy()