QScissorTest#

The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QScissorTest

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#

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:

parentPySide6.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:
property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.height: int#

Holds the height of the scissor box.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.left: int#

Holds the left coordinate of the scissor box.

Access functions:
property PᅟySide6.Qt3DRender.Qt3DRender.QScissorTest.width: int#

Holds the width of the scissor box.

Access functions:
PySide6.Qt3DRender.Qt3DRender.QScissorTest.bottom()#
Return type:

int

See also

setBottom()

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

setHeight()

Getter of property height .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.heightChanged(height)#
Parameters:

height – int

Notification signal of property height .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.left()#
Return type:

int

See also

setLeft()

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

bottom()

Setter of property bottom .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.setHeight(height)#
Parameters:

height – int

See also

height()

Setter of property height .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.setLeft(left)#
Parameters:

left – int

See also

left()

Setter of property left .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.setWidth(width)#
Parameters:

width – int

See also

width()

Setter of property width .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.width()#
Return type:

int

See also

setWidth()

Getter of property width .

PySide6.Qt3DRender.Qt3DRender.QScissorTest.widthChanged(width)#
Parameters:

width – int

Notification signal of property width .