QColorMask#
Allows specifying which color components should be written to the currently bound frame buffer. More…
Synopsis#
Properties#
Functions#
def
isAlphaMasked
()def
isBlueMasked
()def
isGreenMasked
()def
isRedMasked
()
Slots#
def
setAlphaMasked
(alphaMasked)def
setBlueMasked
(blueMasked)def
setGreenMasked
(greenMasked)def
setRedMasked
(redMasked)
Signals#
def
alphaMaskedChanged
(alphaMasked)def
blueMaskedChanged
(blueMasked)def
greenMaskedChanged
(greenMasked)def
redMaskedChanged
(redMasked)
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#
By default, the property for each color component (red, green, blue, alpha) is set to true
which means they will be written to the frame buffer. Setting any of the color component to false
will prevent it from being written into the frame buffer.
- class PySide6.Qt3DRender.Qt3DRender.QColorMask([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs a new Qt3DCore::QColorMask instance with parent
as 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.QColorMask.alphaMasked: bool#
Holds whether the alphaMasked component should be written to the frame buffer.
- Access functions:
setAlphaMasked
(alphaMasked)Signal
alphaMaskedChanged
(alphaMasked)
- property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.blueMasked: bool#
Holds whether the blue color component should be written to the frame buffer.
- Access functions:
isBlueMasked
()setBlueMasked
(blueMasked)Signal
blueMaskedChanged
(blueMasked)
- property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.greenMasked: bool#
Holds whether the green color component should be written to the frame buffer.
- Access functions:
setGreenMasked
(greenMasked)Signal
greenMaskedChanged
(greenMasked)
- property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.redMasked: bool#
Holds whether the red color component should be written to the frame buffer.
- Access functions:
isRedMasked
()setRedMasked
(redMasked)Signal
redMaskedChanged
(redMasked)
- PySide6.Qt3DRender.Qt3DRender.QColorMask.alphaMaskedChanged(alphaMasked)#
- Parameters:
alphaMasked – bool
Notification signal of property alphaMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.blueMaskedChanged(blueMasked)#
- Parameters:
blueMasked – bool
Notification signal of property blueMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.greenMaskedChanged(greenMasked)#
- Parameters:
greenMasked – bool
Notification signal of property greenMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isAlphaMasked()#
- Return type:
bool
Getter of property alphaMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isBlueMasked()#
- Return type:
bool
Getter of property blueMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isGreenMasked()#
- Return type:
bool
Getter of property greenMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.isRedMasked()#
- Return type:
bool
Getter of property redMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.redMaskedChanged(redMasked)#
- Parameters:
redMasked – bool
Notification signal of property redMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setAlphaMasked(alphaMasked)#
- Parameters:
alphaMasked – bool
See also
Setter of property alphaMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setBlueMasked(blueMasked)#
- Parameters:
blueMasked – bool
See also
Setter of property blueMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setGreenMasked(greenMasked)#
- Parameters:
greenMasked – bool
See also
Setter of property greenMasked
.
- PySide6.Qt3DRender.Qt3DRender.QColorMask.setRedMasked(redMasked)#
- Parameters:
redMasked – bool
See also
Setter of property redMasked
.