Q3DLight Class
3D 공간에서 광원 표현. 더 보기...
헤더: | #include <Q3DLight> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DataVisualization) target_link_libraries(mytarget PRIVATE Qt6::DataVisualization) |
qmake: | QT += datavisualization |
이후: | QtDataVisualization 1.0 |
QML에서: | Light3D |
상속합니다: | Q3DObject |
속성
(since QtDataVisualization 5.9)
autoPosition : bool
공공 기능
Q3DLight(QObject *parent = nullptr) | |
virtual | ~Q3DLight() |
bool | isAutoPosition() |
void | setAutoPosition(bool enabled) |
신호
void | autoPositionChanged(bool autoPosition) |
프로퍼티 문서
[since QtDataVisualization 5.9]
autoPosition : bool
이 프로퍼티는 조명 위치가 카메라를 자동으로 따라갈지 여부를 설정합니다.
참고: 그림자가 활성화된 경우 영향을 미치지 않습니다. 빛의 위치를 설정하기 전에 그림자를 비활성화하지 않으면 isAutoPosition()
이 false
인 경우 자동 위치 지정으로 덮어씌워집니다.
이 프로퍼티는 QtDataVisualization 5.9에 도입되었습니다.
함수 액세스:
bool | isAutoPosition() |
void | setAutoPosition(bool enabled) |
알림 신호:
void | autoPositionChanged(bool autoPosition) |
© 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.