Sur cette page

Qt3DRender::QLevelOfDetailBoundingSphere Class

class Qt3DRender::QLevelOfDetailBoundingSphere

La classe `QLevelOfDetailBoundingSphere` fournit un volume sphérique simple, défini par son centre et son rayon. En savoir plus...

En-tête : #include <qlevelofdetailboundingsphere.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake : QT += 3drender
En QML : levelOfDetailBoundingSphere
Statut : Obsolète

Cette classe est obsolète. Nous déconseillons fortement son utilisation dans les nouveaux codes.

Propriétés

Fonctions publiques

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

Description détaillée

Documentation sur les propriétés

[read-only] center : const QVector3D

Spécifie le centre de la sphère englobante

Fonctions d'accès :

QVector3D center() const

[read-only] radius : const float

Spécifie le rayon de la sphère englobante

Fonctions d'accès :

float radius() const

Documentation sur les fonctions membres

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

Crée une nouvelle instance de `QLevelOfDetailBoundingSphere` avec les paramètres ` center ` et ` radius` spécifiés.

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