Nesta página

Qt3DRender::QLevelOfDetailBoundingSphere Class

class Qt3DRender::QLevelOfDetailBoundingSphere

A classe `QLevelOfDetailBoundingSphere` fornece um volume esférico simples, definido por seu centro e raio. Mais...

Cabeçalho: #include <qlevelofdetailboundingsphere.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
Em QML: levelOfDetailBoundingSphere
Status: Obsoleta

Esta classe está obsoleta. Recomendamos enfaticamente que não seja usada em código novo.

Propriedades

Funções Públicas

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

Descrição detalhada

Documentação das propriedades

[read-only] center : const QVector3D

Especifica o centro da esfera delimitadora

Funções de acesso:

QVector3D center() const

[read-only] radius : const float

Especifica o raio da esfera delimitadora

Funções de acesso:

float radius() const

Documentação das funções de membro

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

Cria uma nova instância de `QLevelOfDetailBoundingSphere` com os valores especificados para ` 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.