QPlaneMesh Class
class Qt3DExtras::QPlaneMesh正方形の平面メッシュ。もっと見る...
ヘッダー | #include <Qt3DExtras/QPlaneMesh> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3dextras) target_link_libraries(mytarget PRIVATE Qt6::3dextras) |
qmake | QT += 3dextras |
QML で | PlaneMesh |
を継承しています: | Qt3DRender::QGeometryRenderer |
ステータス | 非推奨 |
プロパティ
- height : float
- meshResolution : QSize
- mirrored : bool
- width : float
パブリック機能
QPlaneMesh(Qt3DCore::QNode *parent = nullptr) | |
float | height() const |
QSize | meshResolution() const |
bool | mirrored() const |
float | width() const |
パブリックスロット
void | setHeight(float height) |
void | setMeshResolution(const QSize &resolution) |
void | setMirrored(bool mirrored) |
void | setWidth(float width) |
シグナル
void | heightChanged(float height) |
void | meshResolutionChanged(const QSize &meshResolution) |
void | mirroredChanged(bool mirrored) |
void | widthChanged(float width) |
プロパティの説明
height : float
平面の高さを保持します。
アクセス機能:
float | height() const |
void | setHeight(float height) |
通知信号
void | heightChanged(float height) |
meshResolution : QSize
平面の解像度を保持する。このプロパティのwidthとheightの値は、それぞれの次元でメッシュに生成される頂点の数を指定します。
アクセス関数:
QSize | meshResolution() const |
void | setMeshResolution(const QSize &resolution) |
通知シグナル:
void | meshResolutionChanged(const QSize &meshResolution) |
mirrored : bool
平面の UV 座標を垂直に反転させるかどうかを制御します。
アクセス関数:
bool | mirrored() const |
void | setMirrored(bool mirrored) |
通知シグナル
void | mirroredChanged(bool mirrored) |
width : float
平面の幅を保持します。
アクセス機能:
float | width() const |
void | setWidth(float width) |
通知シグナル:
void | widthChanged(float width) |
メンバ関数ドキュメント
[explicit]
QPlaneMesh::QPlaneMesh(Qt3DCore::QNode *parent = nullptr)
parent で新しい QPlaneMesh を構築する。
© 2025 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.