이 페이지에서

Qt3DRender::QLineWidth Class

class Qt3DRender::QLineWidth

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

헤더: #include <qlinewidth.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: LineWidth
상속: Qt3DRender::QRenderState
상태: 사용 중단됨

이 클래스는 더 이상 사용되지 않습니다. 새로운 코드에서는 이 클래스를 사용하지 않는 것을 강력히 권장합니다.

속성

공개 함수

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.