PySide6.Qt3DRender.Qt3DRender.QStencilTest

class QStencilTest

The QStencilTest class specifies arguments for the stecil test. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QStencilTest

Synopsis

Properties

Methods

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

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

Note

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

property backᅟ: QStencilTestArguments

Holds the stencil test arguments for back-facing polygons.

Access functions:
property frontᅟ: QStencilTestArguments

Holds the stencil test arguments for front-facing polygons.

Access functions:
__init__([parent=None])
Parameters:

parentQNode

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

back()
Return type:

QStencilTestArguments

Getter of property backᅟ .

front()
Return type:

QStencilTestArguments

Getter of property frontᅟ .