Qt3DRender::QLevelOfDetailBoundingSphere Class
class Qt3DRender::QLevelOfDetailBoundingSphereQLevelOfDetailBoundingSphere 类提供了一个由中心和半径定义的简单球形体积。更多
头文件: | #include <QLevelOfDetailBoundingSphere> |
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。
© 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.