Qt3DRender::QLineWidth Class
class Qt3DRender::QLineWidthLegt die Breite der gerasterten Linien fest. Mehr...
| Kopfzeile: | #include <qlinewidth.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | LineWidth |
| Erbt von: | Qt3DRender::QRenderState |
| Status: | Veraltet |
Diese Klasse ist veraltet. Wir raten dringend davon ab, sie in neuem Code zu verwenden.
Eigenschaften
Öffentliche Funktionen
Öffentliche Slots
Signale
| void | smoothChanged(bool enabled) |
| void | valueChanged(float value) |
Eigenschaftsdokumentation
smooth : bool
Diese Eigenschaft legt fest, ob die glatte Linienwiedergabe aktiviert ist.
Wenn diese Option aktiviert ist, sorgt die Linienglättung für eine kantenglättete Linienwiedergabe. Der Standardwert ist „ false “.
Zugriffsfunktionen:
| bool | smooth() const |
| void | setSmooth(bool enabled) |
Notifier-Signal:
| void | smoothChanged(bool enabled) |
value : float
Legt den zu verwendenden Breitenwert fest.
Zugriffsfunktionen:
| float | value() const |
| void | setValue(float value) |
Benachrichtigungssignal:
| 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.