Qt3DRender::QDirectionalLight Class
class Qt3DRender::QDirectionalLightQt 3D 장면에서 방향성 광원 오브젝트를 캡슐화합니다. 더 보기...
| 헤더: | #include <qdirectionallight.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| QML에서: | DirectionalLight |
| 상속: | Qt3DRender::QAbstractLight |
| 상태: | 사용 중단됨 |
이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.
속성
- worldDirection : QVector3D
공개 함수
| QDirectionalLight(Qt3DCore::QNode *parent = nullptr) | |
| QVector3D | worldDirection() const |
공개 슬롯
| void | setWorldDirection(const QVector3D &worldDirection) |
신호
| void | worldDirectionChanged(const QVector3D &worldDirection) |
속성 설명
worldDirection : QVector3D
방향성 조명의 세계 좌표계 방향을 지정합니다.
참고: 이 속성의 정확한의미와 사용법은 머티리얼 구현에 따라 다릅니다.
액세스 함수:
| QVector3D | worldDirection() const |
| void | setWorldDirection(const QVector3D &worldDirection) |
알림 신호:
| void | worldDirectionChanged(const QVector3D &worldDirection) |
멤버 함수 문서
[explicit] QDirectionalLight::QDirectionalLight(Qt3DCore::QNode *parent = nullptr)
지정된 parent 를 사용하여 새로운 QDirectionalLight 객체를 생성합니다.
© 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.