QDirectionalLight Class
class Qt3DRender::QDirectionalLightQt 3D 씬에서 디렉셔널 라이트 오브젝트를 캡슐화합니다. 더 보기...
Header: | #include <QDirectionalLight> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
QML에서: | DirectionalLight |
상속합니다: | Qt3DRender::QAbstractLight |
상태: | Deprecated |
속성
- 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를 생성합니다.
© 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.