QColorMask#

Allows specifying which color components should be written to the currently bound frame buffer. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QColorMask

Synopsis#

Properties#

Functions#

Slots#

Signals#

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:

parentPySide6.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:
property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.blueMasked: bool#

Holds whether the blue color component should be written to the frame buffer.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.greenMasked: bool#

Holds whether the green color component should be written to the frame buffer.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QColorMask.redMasked: bool#

Holds whether the red color component should be written to the frame buffer.

Access functions:
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

isAlphaMasked()

Setter of property alphaMasked .

PySide6.Qt3DRender.Qt3DRender.QColorMask.setBlueMasked(blueMasked)#
Parameters:

blueMasked – bool

See also

isBlueMasked()

Setter of property blueMasked .

PySide6.Qt3DRender.Qt3DRender.QColorMask.setGreenMasked(greenMasked)#
Parameters:

greenMasked – bool

See also

isGreenMasked()

Setter of property greenMasked .

PySide6.Qt3DRender.Qt3DRender.QColorMask.setRedMasked(redMasked)#
Parameters:

redMasked – bool

See also

isRedMasked()

Setter of property redMasked .