Qt3DExtras::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
平面の解像度を保持します。このプロパティの幅と高さの値は、メッシュに対してそれぞれの次元で生成される頂点の数を指定します。
アクセス関数:
| 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を構築します。
© 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.