Light3D QML Type
光源在三维空间中的表示。更多...
| Import Statement: | import QtDataVisualization 1.12 |
| Since: | QtDataVisualization 1.0 |
| In C++: | Q3DLight |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
属性
- autoPosition : bool
(since QtDataVisualization 1.3)
详细说明
Light3D 表示三维空间中的单色光源。
注意:默认 光源的autoPosition 为true 。
属性文档
autoPosition : bool [since QtDataVisualization 1.3]
用于确定灯光位置是否自动跟随摄像机。
注意: 如果启用了阴影,则此设置无效 。请务必在设置光源位置前禁用阴影,否则当此属性设置为false 时,光源位置将被自动定位功能覆盖。
该属性在 QtDataVisualization 1.3 中引入。
© 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.