QScissorTest 类
class Qt3DRender::QScissorTestQScissorTest 类丢弃掉屏幕上指定矩形区域之外的片段。 更多信息...
| 头文件 | #include <QScissorTest> | 
| CMake | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) | 
| qmake | QT += 3drender | 
| 由以下实例化 | ScissorTest | 
| 继承 | Qt3DRender::QRenderState | 
属性
公有函数
| QScissorTest(Qt3DCore::QNode *parent = nullptr) | |
| int | bottom() const | 
| int | height() const | 
| int | left() const | 
| int | width() const | 
公有槽
信号
| void | bottomChanged(int bottom) | 
| void | heightChanged(int height) | 
| void | leftChanged(int left) | 
| void | widthChanged(int width) | 
属性文档
bottom : int
保存裁剪框的底部坐标。
访问函数
| int | bottom() const | 
| void | setBottom(int bottom) | 
通知信号
| void | bottomChanged(int bottom) | 
height : int
保存裁剪框的高度。
访问函数
| int | height() const | 
| void | setHeight(int height) | 
通知信号
| void | heightChanged(int height) | 
left : int
保存剪裁框的左坐标。
访问函数
| int | left() const | 
| void | setLeft(int left) | 
通知信号
| void | leftChanged(int left) | 
width : int
保存剪裁框的宽度。
访问函数
| int | width() const | 
| void | setWidth(int width) | 
通知信号
| void | widthChanged(int width) | 
成员函数文档
[显式] QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)
构造函数创建一个新的具有指定 parent 的 QScissorTest::QScissorTest 实例。
© 2024 The Qt Company Ltd. 本文档中的贡献内容均为各自所有者的版权。本提供的文档是根据自由软件基金会发布的 GNU自由文档许可证版本1.3 条款许可的。Qt及其相关标志是The Qt Company Ltd.在芬兰和其他国家/地区的商标。所有其他商标均为各自所有者的财产。