class 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

Methods

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.

Note

Properties can be used directly when from __feature__ import true_property is used or via accessor functions otherwise.

property bottomᅟ: int

Holds the bottom coordinate of the scissor box.

Access functions:
property heightᅟ: int

Holds the height of the scissor box.

Access functions:
property leftᅟ: int

Holds the left coordinate of the scissor box.

Access functions:
property widthᅟ: int

Holds the width of the scissor box.

Access functions:
__init__([parent=None])
Parameters:

parentQNode

The constructor creates a new QScissorTest instance with the specified parent

bottom()
Return type:

int

See also

setBottom()

Getter of property bottomᅟ .

bottomChanged(bottom)
Parameters:

bottom – int

Notification signal of property bottomᅟ .

height()
Return type:

int

See also

setHeight()

Getter of property heightᅟ .

heightChanged(height)
Parameters:

height – int

Notification signal of property heightᅟ .

left()
Return type:

int

See also

setLeft()

Getter of property leftᅟ .

leftChanged(left)
Parameters:

left – int

Notification signal of property leftᅟ .

setBottom(bottom)
Parameters:

bottom – int

See also

bottom()

Setter of property bottomᅟ .

setHeight(height)
Parameters:

height – int

See also

height()

Setter of property heightᅟ .

setLeft(left)
Parameters:

left – int

See also

left()

Setter of property leftᅟ .

setWidth(width)
Parameters:

width – int

See also

width()

Setter of property widthᅟ .

width()
Return type:

int

See also

setWidth()

Getter of property widthᅟ .

widthChanged(width)
Parameters:

width – int

Notification signal of property widthᅟ .