In questa pagina

Qt3DRender::QLevelOfDetailBoundingSphere Class

class Qt3DRender::QLevelOfDetailBoundingSphere

La classe QLevelOfDetailBoundingSphere fornisce un semplice volume sferico, definito dal proprio centro e dal proprio raggio. Per saperne di più...

Intestazione: #include <qlevelofdetailboundingsphere.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
In QML: levelOfDetailBoundingSphere
Stato: Obsoleto

Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.

Proprietà

Funzioni pubbliche

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

Descrizione dettagliata

Documentazione delle proprietà

[read-only] center : const QVector3D

Specifica il centro della sfera circoscritta

Funzioni di accesso:

QVector3D center() const

[read-only] radius : const float

Specifica il raggio della sfera circoscritta

Funzioni di accesso:

float radius() const

Documentazione delle funzioni membro

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

Crea una nuova istanza di `QLevelOfDetailBoundingSphere` con i valori specificati per ` center ` e ` radius`.

© 2026 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.