Nesta página

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

Especifica a largura das linhas rasterizadas. Mais...

Cabeçalho: #include <qlinewidth.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
No QML: LineWidth
Herdado de: Qt3DRender::QRenderState
Status: Obsoleta

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

Propriedades

Funções públicas

bool smooth() const
float value() const

Slots públicos

void setSmooth(bool enabled)
void setValue(float value)

Sinais

void smoothChanged(bool enabled)
void valueChanged(float value)

Descrição detalhada

Documentação de propriedades

smooth : bool

Essa propriedade determina se a renderização suavizada de linhas está ativada.

Quando ativado, o suavização de linhas proporciona uma renderização de linhas com antialias. O valor padrão é ` false`.

Funções de acesso:

bool smooth() const
void setSmooth(bool enabled)

Sinal do notificador:

void smoothChanged(bool enabled)

value : float

Especifica o valor da largura a ser usado.

Funções de acesso:

float value() const
void setValue(float value)

Sinal do notificador:

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.