QScissorTest Class
(Qt3DRender::QScissorTest)The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen. 更多...
头文件: | #include <QScissorTest> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | ScissorTest |
基类: | Qt3DRender::QRenderState |
属性
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
公有函数
QScissorTest(Qt3DCore::QNode *parent = nullptr) | |
int | bottom() const |
int | height() const |
int | left() const |
int | width() const |
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
公有槽函数
void | setBottom(int bottom) |
void | setHeight(int height) |
void | setLeft(int left) |
void | setWidth(int width) |
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
信号
void | bottomChanged(int bottom) |
void | heightChanged(int height) |
void | leftChanged(int left) |
void | widthChanged(int width) |
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
其他继承的成员
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
The QScissorTest class discards fragments that fall outside of a certain rectangular portion of the screen.
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.
属性
bottom : int
Holds the bottom coordinate of the scissor box.
访问函数:
int | bottom() const |
void | setBottom(int bottom) |
Notifier signal:
void | bottomChanged(int bottom) |
height : int
Holds the height of the scissor box.
访问函数:
int | height() const |
void | setHeight(int height) |
Notifier signal:
void | heightChanged(int height) |
left : int
Holds the left coordinate of the scissor box.
访问函数:
int | left() const |
void | setLeft(int left) |
Notifier signal:
void | leftChanged(int left) |
width : int
Holds the width of the scissor box.
访问函数:
int | width() const |
void | setWidth(int width) |
Notifier signal:
void | widthChanged(int width) |