QScissorTest Class

class Qt3DRender::QScissorTest

QScissorTest 클래스는 화면의 특정 직사각형 부분을 벗어난 조각을 버립니다. 더 보기...

Header: #include <QScissorTest>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: ScissorTest
상속합니다: Qt3DRender::QRenderState
상태: Deprecated

속성

공용 기능

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

공용 슬롯

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

신호

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

상세 설명

QScissorTest 클래스는 왼쪽, 아래쪽, 너비 및 높이 프로퍼티로 지정된 화면의 직사각형 영역 밖의 조각을 버리는 가위 테스트를 활성화합니다.

프로퍼티 문서

bottom : int

가위 상자의 하단 좌표를 보유합니다.

기능에 액세스합니다:

int bottom() const
void setBottom(int bottom)

알림 신호:

void bottomChanged(int bottom)

height : int

가위 상자의 높이를 고정합니다.

기능에 액세스합니다:

int height() const
void setHeight(int height)

알림 신호:

void heightChanged(int height)

left : int

가위 상자의 왼쪽 좌표를 유지합니다.

기능에 접근합니다:

int left() const
void setLeft(int left)

알림 신호:

void leftChanged(int left)

width : int

가위 상자의 너비를 유지합니다.

기능에 접근합니다:

int width() const
void setWidth(int width)

알림 신호:

void widthChanged(int width)

멤버 함수 문서

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

생성자는 지정된 QScissorTest::QScissorTest 인스턴스를 새로 생성합니다. 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.