Qt3DRender::QLineWidth Class
class Qt3DRender::QLineWidthSpecifica la larghezza delle linee rasterizzate. Maggiori informazioni...
| Intestazione: | #include <qlinewidth.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
| qmake: | QT += 3drender |
| In QML: | LineWidth |
| Eredita da: | Qt3DRender::QRenderState |
| Stato: | Obsoleto |
Questa classe è deprecata. Si sconsiglia vivamente di utilizzarla nel nuovo codice.
Proprietà
Funzioni pubbliche
Slot pubblici
Segnali
| void | smoothChanged(bool enabled) |
| void | valueChanged(float value) |
Documentazione delle proprietà
smooth : bool
Questa proprietà determina se è abilitato il rendering liscio delle linee.
Quando è abilitato, il livellamento delle linee garantisce un rendering delle linee con antialiasing. Il valore predefinito è false.
Funzioni di accesso:
| bool | smooth() const |
| void | setSmooth(bool enabled) |
Segnale di notifica:
| void | smoothChanged(bool enabled) |
value : float
Specifica il valore della larghezza da utilizzare.
Funzioni di accesso:
| float | value() const |
| void | setValue(float value) |
Segnale di notifica:
| 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.