The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius. 更多...
| 头: | #include <QLevelOfDetailBoundingSphere> |
| qmake: | QT += 3drender |
| Since: | Qt 5.9 |
| 实例化: | LevelOfDetail |
| QLevelOfDetailBoundingSphere (QVector3D center = QVector3D(), float radius = 1.0f) | |
| QLevelOfDetailBoundingSphere (const QLevelOfDetailBoundingSphere & other ) | |
| ~QLevelOfDetailBoundingSphere () | |
| QVector3D | center () const |
| bool | isEmpty () const |
| float | radius () const |
| bool | operator!= (const QLevelOfDetailBoundingSphere & other ) const |
| QLevelOfDetailBoundingSphere & | operator= (const QLevelOfDetailBoundingSphere & other ) |
| bool | operator== (const QLevelOfDetailBoundingSphere & other ) const |
The QLevelOfDetailBoundingSphere class provides a simple spherical volume, defined by it's center and radius.
Specifies the center of the bounding sphere
访问函数:
| QVector3D | center () const |
Specifies the radius of the bounding sphere
访问函数:
| float | radius () const |
Default constructs an instance of QLevelOfDetailBoundingSphere.
Copy constructor.
Destroys the instance of QLevelOfDetailBoundingSphere.
拷贝赋值运算符。