SkyboxEntity QML Type
SkyboxEntity 是一个便捷的 Entity 子类,可用于在 3D 场景中插入天空盒。更多...
| Import Statement: | import Qt3D.Extras 2.12 |
| In C++: | QSkyboxEntity |
| Status: | Deprecated |
此类型已弃用。我们强烈建议不要在新代码中使用它。
详细说明
通过指定基名和扩展名,SkyboxEntity 将负责构建一个TextureCubeMap ,以便在运行时进行渲染。源目录中的图像应符合以下模式:基名 + * "_posx|_posy|_posz|_negx|_negy|_negz" + 扩展名
默认情况下,扩展名默认为 .png。
请务必在用于渲染天空盒的 FrameGraph 中禁用视锥体剔除。
注意:请 注意,不应尝试使用正交投影渲染天空盒。
© 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.