Qt3DRender::QScissorTest Class
class Qt3DRender::QScissorTestLa classe QScissorTest scarta i frammenti che si trovano al di fuori di una determinata porzione rettangolare dello schermo. Per saperne di più...
| Intestazione: | #include <qscissortest.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | ScissorTest |
| Eredita da: | Qt3DRender::QRenderState |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
Funzioni pubbliche
| QScissorTest(Qt3DCore::QNode *parent = nullptr) | |
| int | bottom() const |
| int | height() const |
| int | left() const |
| int | width() const |
Slot pubblici
| void | setBottom(int bottom) |
| void | setHeight(int height) |
| void | setLeft(int left) |
| void | setWidth(int width) |
Segnali
| void | bottomChanged(int bottom) |
| void | heightChanged(int height) |
| void | leftChanged(int left) |
| void | widthChanged(int width) |
Descrizione dettagliata
La classe QScissorTest consente di eseguire il test "scissor", che scarta i frammenti al di fuori dell'area rettangolare dello schermo specificata dalle proprietà sinistra, inferiore, larghezza e altezza.
Documentazione delle proprietà
bottom : int
Contiene la coordinata inferiore del riquadro a forbice.
Funzioni di accesso:
| int | bottom() const |
| void | setBottom(int bottom) |
Segnale di notifica:
| void | bottomChanged(int bottom) |
height : int
Indica l'altezza del vano a forbice.
Funzioni di accesso:
| int | height() const |
| void | setHeight(int height) |
Segnale di notifica:
| void | heightChanged(int height) |
left : int
Contiene la coordinata sinistra del riquadro a forbice.
Funzioni di accesso:
| int | left() const |
| void | setLeft(int left) |
Segnale di notifica:
| void | leftChanged(int left) |
width : int
Indica la larghezza del vano per le forbici.
Funzioni di accesso:
| int | width() const |
| void | setWidth(int width) |
Segnale di notifica:
| void | widthChanged(int width) |
Documentazione delle funzioni membro
[explicit] QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)
Il costruttore crea una nuova istanza di QScissorTest::QScissorTest con i parametri specificati 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.