QColorMask

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

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QColorMask

Synopsis

Functions

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.

PySide6.Qt3DRender.Qt3DRender.QColorMask.alphaMaskedChanged(alphaMasked)
Parameters

alphaMasked – bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.blueMaskedChanged(blueMasked)
Parameters

blueMasked – bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.greenMaskedChanged(greenMasked)
Parameters

greenMasked – bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.isAlphaMasked()
Return type

bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.isBlueMasked()
Return type

bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.isGreenMasked()
Return type

bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.isRedMasked()
Return type

bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.redMaskedChanged(redMasked)
Parameters

redMasked – bool

PySide6.Qt3DRender.Qt3DRender.QColorMask.setAlphaMasked(alphaMasked)
Parameters

alphaMasked – bool

See also

isAlphaMasked()

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

blueMasked – bool

See also

isBlueMasked()

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

greenMasked – bool

See also

isGreenMasked()

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

redMasked – bool

See also

isRedMasked()