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 COMPONENTS 3drender REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Since: Qt 5.9
实例化: 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

成员函数文档编制

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

Constructs a new QLevelOfDetailBoundingSphere with the specified center and radius .