Qt3DRender::QFrontFace Class
class Qt3DRender::QFrontFaceQFrontFace 클래스는 앞면 및 뒷면 다각형을 정의합니다. 더 보기...
| 헤더: | #include <qfrontface.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | FrontFace |
| 상속: | Qt3DRender::QRenderState |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
공개 유형
| enum | WindingDirection { ClockWise, CounterClockWise } |
속성
- direction : WindingDirection
공개 함수
| QFrontFace(Qt3DCore::QNode *parent = nullptr) | |
| Qt3DRender::QFrontFace::WindingDirection | direction() const |
공개 슬롯
| void | setDirection(Qt3DRender::QFrontFace::WindingDirection direction) |
신호
| void | directionChanged(Qt3DRender::QFrontFace::WindingDirection direction) |
상세 설명
Qt3DRender::QFrontFace 는 전면 폴리곤의 감김 방향을 설정합니다.
QCullFace도 참조하십시오 .
멤버 유형 문서
enum QFrontFace::WindingDirection
이 열거형은 권선 방향 값을 지정합니다.
| 상수 | 값 | 설명 |
|---|---|---|
Qt3DRender::QFrontFace::ClockWise | 0x0900 | 시계 방향 다각형은 정면을 향합니다. |
Qt3DRender::QFrontFace::CounterClockWise | 0x0901 | 시계 반대 방향의 다각형은 앞면을 향합니다. |
속성 설명
direction : WindingDirection
정면을 향한 다각형의 감김 방향을 저장합니다. 기본값은 시계 방향입니다.
액세스 함수:
| Qt3DRender::QFrontFace::WindingDirection | direction() const |
| void | setDirection(Qt3DRender::QFrontFace::WindingDirection direction) |
알림 신호:
| void | directionChanged(Qt3DRender::QFrontFace::WindingDirection direction) |
멤버 함수 설명서
[explicit] QFrontFace::QFrontFace(Qt3DCore::QNode *parent = nullptr)
이 생성자는 지정된 값을 사용하여 새로운 ` QFrontFace::QFrontFace ` 인스턴스를 생성합니다. 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.