DirectionalLight QML Type
在Qt 3D 场景中封装定向光对象。更多
Import Statement: | import Qt3D.Render 2.9 |
In C++: | QDirectionalLight |
Inherits: | |
Status: | Deprecated |
属性
- worldDirection : vector3d
详细说明
定向光是一种行为类似于太阳光的光源。定向光以相同的强度从同一方向照射所有物体,而不管物体在场景中的哪个位置。
属性文档
worldDirection : vector3d |
指定定向光的世界方向。
注: 此属性的确切含义和使用取决于材质的实现。
© 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.