Qt3DRender::QScissorTest Class
class Qt3DRender::QScissorTestDie Klasse „QScissorTest“ filtert Fragmente heraus, die außerhalb eines bestimmten rechteckigen Bereichs des Bildschirms liegen. Mehr...
| Header: | #include <qscissortest.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | ScissorTest |
| Erbt von: | Qt3DRender::QRenderState |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
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) |
Ausführliche Beschreibung
Die Klasse „QScissorTest“ ermöglicht den Scissor-Test, bei dem Fragmente außerhalb des rechteckigen Bildschirmbereichs verworfen werden, der durch die Eigenschaften „left“, „bottom“, „width“ und „height“ festgelegt wird.
Dokumentation zu den Eigenschaften
bottom : int
Enthält die untere Koordinate des Scherenrahmens.
Zugriffsfunktionen:
| int | bottom() const |
| void | setBottom(int bottom) |
Benachrichtigungssignal:
| void | bottomChanged(int bottom) |
height : int
Gibt die Höhe des Scherenkastens an.
Zugriffsfunktionen:
| int | height() const |
| void | setHeight(int height) |
Signal des Melders:
| void | heightChanged(int height) |
left : int
Enthält die linke Koordinate des Scherenkastens.
Zugriffsfunktionen:
| int | left() const |
| void | setLeft(int left) |
Benachrichtigungssignal:
| void | leftChanged(int left) |
width : int
Gibt die Breite des Scherenkastens an.
Zugriffsfunktionen:
| int | width() const |
| void | setWidth(int width) |
Benachrichtigungssignal:
| void | widthChanged(int width) |
Dokumentation der Mitgliedsfunktionen
[explicit] QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)
Der Konstruktor erstellt eine neue Instanz von „ QScissorTest::QScissorTest “ mit den angegebenen parent
© 2026 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.