QScissorTest¶
The QScissorTest
class discards fragments that fall outside of a certain rectangular portion of the screen. More…
Synopsis¶
Functions¶
Slots¶
Signals¶
def
bottomChanged
(bottom)def
heightChanged
(height)def
leftChanged
(left)def
widthChanged
(width)
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
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.bottom()¶
- Return type
int
Holds the bottom coordinate of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.bottomChanged(bottom)¶
- Parameters
bottom – int
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.height()¶
- Return type
int
Holds the height of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.heightChanged(height)¶
- Parameters
height – int
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.left()¶
- Return type
int
Holds the left coordinate of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.leftChanged(left)¶
- Parameters
left – int
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setBottom(bottom)¶
- Parameters
bottom – int
Holds the bottom coordinate of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setHeight(height)¶
- Parameters
height – int
Holds the height of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setLeft(left)¶
- Parameters
left – int
Holds the left coordinate of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.setWidth(width)¶
- Parameters
width – int
Holds the width of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.width()¶
- Return type
int
Holds the width of the scissor box.
- PySide6.Qt3DRender.Qt3DRender.QScissorTest.widthChanged(width)¶
- Parameters
width – int
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.