QStencilTest#
The QStencilTest class specifies arguments for the stecil test. More…
Synopsis#
Properties#
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#
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
QStencilMaskQStencilOperation
- class PySide6.Qt3DRender.Qt3DRender.QStencilTest([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates a new QStencilTest instance with the specified parent.
Note
Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilTest.back: PySide6.Qt3DRender.Qt3DRender.QStencilTestArguments#
Holds the stencil test arguments for back-facing polygons.
- Access functions:
back()
- property PᅟySide6.Qt3DRender.Qt3DRender.QStencilTest.front: PySide6.Qt3DRender.Qt3DRender.QStencilTestArguments#
Holds the stencil test arguments for front-facing polygons.
- Access functions:
front()
- PySide6.Qt3DRender.Qt3DRender.QStencilTest.back()#
- Return type:
Getter of property back .
- PySide6.Qt3DRender.Qt3DRender.QStencilTest.front()#
- Return type:
Getter of property front .