이 페이지에서

Qt3DRender::QScissorTest Class

class Qt3DRender::QScissorTest

QScissorTest 클래스는 화면의 특정 직사각형 영역 밖으로 벗어난 조각들을 제거합니다. 더 보기...

헤더: #include <qscissortest.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: ScissorTest
상속: Qt3DRender::QRenderState
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

속성

공개 함수

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 클래스는 left, bottom, width 및 height 속성으로 지정된 화면의 직사각형 영역 외부의 조각을 제거하는 시저 테스트를 가능하게 합니다.

속성 문서

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

© 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.