En esta página

Qt3DRender::QScissorTest Class

class Qt3DRender::QScissorTest

La clase QScissorTest descarta los fragmentos que quedan fuera de una determinada porción rectangular de la pantalla. Más...

Cabecera: #include <QScissorTest>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: ScissorTest
Hereda: Qt3DRender::QRenderState
Status: Obsoleto

Propiedades

Funciones públicas

QScissorTest(Qt3DCore::QNode *parent = nullptr)
int bottom() const
int height() const
int left() const
int width() const

Ranuras públicas

void setBottom(int bottom)
void setHeight(int height)
void setLeft(int left)
void setWidth(int width)

Señales

void bottomChanged(int bottom)
void heightChanged(int height)
void leftChanged(int left)
void widthChanged(int width)

Descripción Detallada

La clase QScissorTest habilita la prueba de tijera, que descarta fragmentos fuera del área rectangular de la pantalla especificada por las propiedades left, bottom, width y height.

Documentación de Propiedades

bottom : int

Sujeta la coordenada inferior de la caja de tijera.

Funciones de acceso:

int bottom() const
void setBottom(int bottom)

Señal de aviso:

void bottomChanged(int bottom)

height : int

Mantiene la altura de la caja de tijera.

Funciones de acceso:

int height() const
void setHeight(int height)

Señal de aviso:

void heightChanged(int height)

left : int

Mantiene la coordenada izquierda de la caja de tijera.

Funciones de acceso:

int left() const
void setLeft(int left)

Señal de aviso:

void leftChanged(int left)

width : int

Mantiene la anchura de la caja de tijera.

Funciones de acceso:

int width() const
void setWidth(int width)

Notificador de señal:

void widthChanged(int width)

Documentación de la función miembro

[explicit] QScissorTest::QScissorTest(Qt3DCore::QNode *parent = nullptr)

El constructor crea una nueva instancia de QScissorTest::QScissorTest con el valor especificado 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.