QScissorTest Class
class Qt3DRender::QScissorTestDie Klasse QScissorTest verwirft Fragmente, die außerhalb eines bestimmten rechteckigen Teils des Bildschirms liegen. Mehr...
Kopfzeile: | #include <QScissorTest> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
In QML: | ScissorTest |
Vererbt: | Qt3DRender::QRenderState |
Status: | Veraltet |
Eigenschaften
Öffentliche Funktionen
QScissorTest(Qt3DCore::QNode *parent = nullptr) | |
int | bottom() const |
int | height() const |
int | left() const |
int | width() const |
Öffentliche Slots
void | setBottom(int bottom) |
void | setHeight(int height) |
void | setLeft(int left) |
void | setWidth(int width) |
Signale
void | bottomChanged(int bottom) |
void | heightChanged(int height) |
void | leftChanged(int left) |
void | widthChanged(int width) |
Detaillierte Beschreibung
Die Klasse QScissorTest ermöglicht einen Scherentest, bei dem Fragmente außerhalb des rechteckigen Bereichs des Bildschirms, der durch die Eigenschaften left, bottom, width und height festgelegt ist, verworfen werden.
Dokumentation der Eigenschaften
bottom : int
Hält die untere Koordinate der Scherenbox.
Zugriffsfunktionen:
int | bottom() const |
void | setBottom(int bottom) |
Melder-Signal:
void | bottomChanged(int bottom) |
height : int
Hält die Höhe der Scherenbox fest.
Zugriffsfunktionen:
int | height() const |
void | setHeight(int height) |
Melder-Signal:
void | heightChanged(int height) |
left : int
Enthält die linke Koordinate der Scherenbox.
Zugriffsfunktionen:
int | left() const |
void | setLeft(int left) |
Melder-Signal:
void | leftChanged(int left) |
width : int
Hält die Breite der Scherenbox.
Zugriffsfunktionen:
int | width() const |
void | setWidth(int width) |
Melder-Signal:
void | widthChanged(int width) |
Member Function Dokumentation
[explicit]
QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)
Der Konstruktor erzeugt eine neue QScissorTest::QScissorTest Instanz mit der angegebenen parent
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.