Light3D QML Type
三维空间中的光源表示。更多
Import Statement: | import QtDataVisualization 1.9 |
Since: | QtDataVisualization 1.0 |
In C++: | Q3DLight |
属性
- autoPosition : bool
(since QtDataVisualization 1.3)
详细说明
Light3D 表示三维空间中的单色光源。
注: 默认光源为autoPosition true
。
属性文档
autoPosition : bool |
定义光源位置是否自动跟随摄像机。
注: 如果启用了阴影,则不会产生任何影响。请记住在设置光源位置前禁用阴影,否则如果该属性为false
,光源位置将被自动定位覆盖。
此属性在 QtDataVisualization 1.3 中引入。
© 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.