IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QLevelOfDetailBoundingSphere Class

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

This class was introduced in Qt 5.9.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QLevelOfDetailBoundingSphere Class

  • Header: QLevelOfDetailBoundingSphere

  • Since: Qt 5.9

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3drender)

    target_link_libraries(mytarget PRIVATE Qt6::3drender)

  • qmake: QT += 3drender

  • Inherited By:

  • Instantiated By: qml-qt3d-render-levelofdetailboundingsphere.xml

Detailed Description

 

Property Documentation

 

[read-only] center : const QVector3D

Specifies the center of the bounding sphere

Access functions:

  • center() const

[read-only] radius : const float

Specifies the radius of the bounding sphere

Access functions:

  • float radius() const

Member Function Documentation

 

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

Constructs a new QLevelOfDetailBoundingSphere with the specified center and radius.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+