PySide6.Qt3DRender.Qt3DRender.QStencilTest¶
- class QStencilTest¶
The
QStencilTestclass specifies arguments for the stecil test. More…Synopsis¶
Properties¶
Methods¶
def
__init__()def
back()def
front()
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
QStencilTestclass specifies argument for the stencil test. The stencil test comprises of three arguments: stencil test function, stencil test mask and stencil reference value.QStencilTestallows these arguments to be set for both front- and back-facing polygons separately.See also
QStencilMaskQStencilOperationNote
Properties can be used directly when
from __feature__ import true_propertyis 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:
parent –
QNode
The constructor creates a new
QStencilTestinstance with the specifiedparent.- back()¶
- Return type:
QStencilTestArguments
Getter of property
backᅟ.- front()¶
- Return type:
QStencilTestArguments
Getter of property
frontᅟ.