QScissorTest#
The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen. More…
Synopsis#
Properties#
Functions#
Slots#
Signals#
def
bottomChanged(bottom)def
heightChanged(height)def
leftChanged(left)def
widthChanged(width)
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 QScissorTest class enables scissor test, which discards fragments outside the rectangular area of the screen specified by the left, bottom, width and height properties.
- class PySide6.Qt3DRender.Qt3DRender.QScissorTest([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates a new QScissorTest instance with the specified 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.QScissorTest.bottom: int#
Holds the bottom coordinate of the scissor box.
- Access functions:
bottom()setBottom(bottom)Signal
bottomChanged(bottom)
- property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.height: int#
Holds the height of the scissor box.
- Access functions:
height()setHeight(height)Signal
heightChanged(height)
- property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.left: int#
Holds the left coordinate of the scissor box.
- Access functions:
left()setLeft(left)Signal
leftChanged(left)
- property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.width: int#
Holds the width of the scissor box.
- Access functions:
width()setWidth(width)Signal
widthChanged(width)
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.bottom()#
- Return type:
int
See also
Getter of property bottom .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.bottomChanged(bottom)#
- Parameters:
bottom – int
Notification signal of property bottom .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.height()#
- Return type:
int
See also
Getter of property height .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.heightChanged(height)#
- Parameters:
height – int
Notification signal of property height .
Getter of property left .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.leftChanged(left)#
- Parameters:
left – int
Notification signal of property left .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setBottom(bottom)#
- Parameters:
bottom – int
See also
Setter of property bottom .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setHeight(height)#
- Parameters:
height – int
See also
Setter of property height .
Setter of property left .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setWidth(width)#
- Parameters:
width – int
See also
Setter of property width .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.width()#
- Return type:
int
See also
Getter of property width .
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.widthChanged(width)#
- Parameters:
width – int
Notification signal of property width .