Qt3DRender::QLevelOfDetailBoundingSphere Class
class Qt3DRender::QLevelOfDetailBoundingSphereQLevelOfDetailBoundingSphere 类提供了一个简单的球形体,由其中心和半径定义。更多内容...
| 头文件: | #include <qlevelofdetailboundingsphere.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| 在 QML 中: | levelOfDetailBoundingSphere |
| 状态: | 已弃用 |
该类已弃用。我们强烈建议不要在新代码中使用它。
属性
公共函数
| QLevelOfDetailBoundingSphere(QVector3D center = QVector3D(), float radius = 1.0f) | |
| QVector3D | center() const |
| float | radius() const |
属性文档
[read-only] center : const QVector3D
指定边界球的中心
访问函数:
| QVector3D | center() const |
[read-only] radius : const float
指定包围球的半径
访问函数:
| float | radius() const |
成员函数文档
[explicit] QLevelOfDetailBoundingSphere::QLevelOfDetailBoundingSphere(QVector3D center = QVector3D(), float radius = 1.0f)
根据指定的center 和radius ,构建一个新的QLevelOfDetailBoundingSphere。
© 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.