W3cubDocs

/Qt 5.13

QLevelOfDetailBoundingSphere Class

(Qt3DRender::QLevelOfDetailBoundingSphere)

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

Header: #include <QLevelOfDetailBoundingSphere>
qmake: QT += 3drender
Since: Qt 5.9
Instantiated By: LevelOfDetailBoundingSphere

This class was introduced in Qt 5.9.

Properties

Public Functions

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

Detailed Description

Property Documentation

center : const QVector3D

Specifies the center of the bounding sphere

Access functions:

QVector3D center() const

radius : const float

Specifies the radius of the bounding sphere

Access functions:

float radius() const

Member Function Documentation

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

Constructs a new QLevelOfDetailBoundingSphere with the specified center and radius.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.13/qt3drender-qlevelofdetailboundingsphere.html