QFrontFace Class

class Qt3DRender::QFrontFace

QFrontFace 클래스는 앞면과 뒷면을 마주보는 다각형을 정의합니다. 더 보기...

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

공용 유형

enum WindingDirection { ClockWise, CounterClockWise }

속성

공용 기능

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

이 열거형은 와인딩 방향 값을 지정합니다.

Constant설명
Qt3DRender::QFrontFace::ClockWise0x0900시계 방향 다각형은 앞쪽을 향합니다.
Qt3DRender::QFrontFace::CounterClockWise0x0901반시계 방향 폴리곤은 정면을 향합니다.

프로퍼티 문서

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

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