QScissorTest

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

Synopsis

Functions

Slots

Signals

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 PySide2.Qt3DRender.QScissorTest([parent=None])
param parent

PySide2.Qt3DCore.QNode

The constructor creates a new QScissorTest instance with the specified parent

PySide2.Qt3DRender.QScissorTest.bottom()
Return type

int

Holds the bottom coordinate of the scissor box.

PySide2.Qt3DRender.QScissorTest.bottomChanged(bottom)
Parameters

bottom – int

PySide2.Qt3DRender.QScissorTest.height()
Return type

int

Holds the height of the scissor box.

PySide2.Qt3DRender.QScissorTest.heightChanged(height)
Parameters

height – int

PySide2.Qt3DRender.QScissorTest.left()
Return type

int

Holds the left coordinate of the scissor box.

PySide2.Qt3DRender.QScissorTest.leftChanged(left)
Parameters

left – int

PySide2.Qt3DRender.QScissorTest.setBottom(bottom)
Parameters

bottom – int

Holds the bottom coordinate of the scissor box.

PySide2.Qt3DRender.QScissorTest.setHeight(height)
Parameters

height – int

Holds the height of the scissor box.

PySide2.Qt3DRender.QScissorTest.setLeft(left)
Parameters

left – int

Holds the left coordinate of the scissor box.

PySide2.Qt3DRender.QScissorTest.setWidth(width)
Parameters

width – int

Holds the width of the scissor box.

PySide2.Qt3DRender.QScissorTest.width()
Return type

int

Holds the width of the scissor box.

PySide2.Qt3DRender.QScissorTest.widthChanged(width)
Parameters

width – int