Qt3DRender::QScissorTest Class
class Qt3DRender::QScissorTestLa classe QScissorTest élimine les fragments qui tombent en dehors d'une certaine partie rectangulaire de l'écran. Plus...
| En-tête : | #include <QScissorTest> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3drender)target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake : | QT += 3drender |
| En QML : | ScissorTest |
| Hérite : | Qt3DRender::QRenderState |
| Statut : | Déclassé |
Propriétés
Fonctions publiques
| QScissorTest(Qt3DCore::QNode *parent = nullptr) | |
| int | bottom() const |
| int | height() const |
| int | left() const |
| int | width() const |
Emplacements publics
| void | setBottom(int bottom) |
| void | setHeight(int height) |
| void | setLeft(int left) |
| void | setWidth(int width) |
Signaux
| void | bottomChanged(int bottom) |
| void | heightChanged(int height) |
| void | leftChanged(int left) |
| void | widthChanged(int width) |
Description détaillée
Une classe QScissorTest permet d'effectuer un test de ciseaux, qui écarte les fragments situés en dehors de la zone rectangulaire de l'écran spécifiée par les propriétés left, bottom, width et height.
Documentation sur les propriétés
bottom : int
Maintient la coordonnée inférieure de la boîte à ciseaux.
Fonctions d'accès :
| int | bottom() const |
| void | setBottom(int bottom) |
Signal de notification :
| void | bottomChanged(int bottom) |
height : int
Maintient la hauteur de la boîte à ciseaux.
Fonctions d'accès :
| int | height() const |
| void | setHeight(int height) |
Signal de notification :
| void | heightChanged(int height) |
left : int
Maintient la coordonnée gauche de la boîte à ciseaux.
Fonctions d'accès :
| int | left() const |
| void | setLeft(int left) |
Signal de notification :
| void | leftChanged(int left) |
width : int
Indique la largeur de la boîte à ciseaux.
Fonctions d'accès :
| int | width() const |
| void | setWidth(int width) |
Signal de notification :
| void | widthChanged(int width) |
Fonction membre Documentation
[explicit] QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)
Le constructeur crée une nouvelle instance de QScissorTest::QScissorTest avec la valeur de 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.