Qt3DRender::QLevelOfDetailBoundingSphere Class

class Qt3DRender::QLevelOfDetailBoundingSphere

The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by its center and radius. 更多...

頭: #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

Specifies the center of the bounding sphere

訪問函數:

QVector3D center () const

[read-only] radius : const float

Specifies the radius of the bounding sphere

訪問函數:

float radius () const

成員函數文檔編製

[explicit] QLevelOfDetailBoundingSphere:: QLevelOfDetailBoundingSphere ( QVector3D center = QVector3D(), float radius = 1.0f)

Constructs a new QLevelOfDetailBoundingSphere with the specified center and radius .