QStencilTest

The QStencilTest class specifies arguments for the stecil test. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QStencilTest

Synopsis

Functions

Detailed Description

A QStencilTest class specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value. QStencilTest allows these arguments to be set for both front- and back-facing polygons separately.

See also

QStencilMask QStencilOperation

class PySide6.Qt3DRender.Qt3DRender.QStencilTest([parent=None])
Parameters

parentPySide6.Qt3DCore.Qt3DCore.QNode

The constructor creates a new QStencilTest instance with the specified parent.

PySide6.Qt3DRender.Qt3DRender.QStencilTest.back()
Return type

PySide6.Qt3DRender.Qt3DRender.QStencilTestArguments

Holds the stencil test arguments for back-facing polygons.

PySide6.Qt3DRender.Qt3DRender.QStencilTest.front()
Return type

PySide6.Qt3DRender.Qt3DRender.QStencilTestArguments

Holds the stencil test arguments for front-facing polygons.