PySide6.Qt3DRender.Qt3DRender.QStencilOperation¶
- class QStencilOperation¶
The
QStencilOperationclass specifies stencil operation.Details
A
QStencilOperationclass specifies the stencil operations for the front- and back-facing polygons. The stencil operation control what is done to fragment when the stencil and depth test pass or fail.See also
QStencilTestSynopsis¶
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
Note
Properties can be used directly when
from __feature__ import true_propertyis used or via accessor functions otherwise.- property backᅟ: QStencilOperationArguments¶
Holds the stencil operation arguments for back-facing polygons.
- Access functions:
- property frontᅟ: QStencilOperationArguments¶
Holds the stencil operation arguments for front-facing polygons.
- Access functions:
- __init__([parent=None])¶
- Parameters:
parent –
QNode
The constructor creates a new
QStencilOperationinstance with the specifiedparent.- back()¶
- Return type:
QStencilOperationArguments
Getter of property
backᅟ.- front()¶
- Return type:
QStencilOperationArguments
Getter of property
frontᅟ.