En esta página

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

Especifica el ancho de las líneas rasterizadas. Más...

Encabezado: #include <qlinewidth.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: LineWidth
Heredado de: Qt3DRender::QRenderState
Estado: Obsoleto

Esta clase está obsoleta. Se desaconseja encarecidamente su uso en código nuevo.

Propiedades

Funciones públicas

bool smooth() const
float value() const

Ranuras públicas

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

Señales

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

Descripción detallada

Documentación de propiedades

smooth : bool

Esta propiedad determina si está activada la representación suave de líneas.

Cuando está activado, el suavizado de líneas proporciona un renderizado de líneas con suavizado de bordes. El valor por defecto es « false ».

Funciones de acceso:

bool smooth() const
void setSmooth(bool enabled)

Señal de notificación:

void smoothChanged(bool enabled)

value : float

Especifica el valor de anchura que se va a utilizar.

Funciones de acceso:

float value() const
void setValue(float value)

Señal del 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.