Qt3DRender::QLineWidth Class
class Qt3DRender::QLineWidthDéfinit la largeur des lignes tramées. En savoir plus...
| En-tête : | #include <qlinewidth.h> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake : | QT += 3drender |
| En QML : | LineWidth |
| Hérite de : | Qt3DRender::QRenderState |
| Statut : | Obsolète |
Cette classe est obsolète. Nous déconseillons fortement de l'utiliser dans du nouveau code.
Propriétés
Fonctions publiques
Emplacements publics
Signaux
| void | smoothChanged(bool enabled) |
| void | valueChanged(float value) |
Documentation des propriétés
smooth : bool
Cette propriété détermine si le lissage des lignes est activé.
Lorsqu'il est activé, le lissage des lignes permet un rendu des lignes avec anticrénelage. La valeur par défaut est « false ».
Fonctions d'accès :
| bool | smooth() const |
| void | setSmooth(bool enabled) |
Signal de notification :
| void | smoothChanged(bool enabled) |
value : float
Spécifie la valeur de largeur à utiliser.
Fonctions d'accès :
| float | value() const |
| void | setValue(float value) |
Signal de notification :
| void | valueChanged(float value) |
© 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.