このページでは

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.