이 페이지에서

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

래스터화된 선의 너비를 지정합니다. 더 보기...

헤더: #include <QLineWidth>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: LineWidth
상속합니다: Qt3DRender::QRenderState
상태: Deprecated

속성

공용 기능

bool smooth() const
float value() const

공용 슬롯

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

신호

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

상세 설명

속성 문서

smooth : bool

이 프로퍼티는 부드러운 선 렌더링의 활성화 여부를 나타냅니다.

활성화하면 라인 스무딩이 앤티앨리어싱된 라인 렌더링을 제공합니다. 기본값은 false 입니다.

함수에 액세스합니다:

bool smooth() const
void setSmooth(bool enabled)

알림 신호:

void smoothChanged(bool enabled)

value : float

사용할 너비 값을 지정합니다.

함수 액세스:

float value() const
void setValue(float value)

알림 신호:

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.