Mesh QML Type

カスタムメッシュローダー。詳細...

Import Statement: import Qt3D.Render 2.8
In C++: QMesh
Status: Deprecated

プロパティ

詳細説明

様々な形式の外部ファイルからメッシュデータを読み込みます。

Qt3D 5.9では、以下のフォーマットをサポートしています:

  • Wavefront OBJ
  • スタンフォードトライアングルフォーマット PLY
  • STL (STereoLithography)

SDKがインストールされ、fbxジオメトリーローダープラグインがビルドされ、見つかった場合、QMeshは以下のフォーマットもサポートします。

  • オートデスクFBX

プロパティ ドキュメント

meshName : string

メッシュのどの部分をロードするかを示すフィルタ。

meshName が空の場合(デフォルト)、メッシュ全体がロードされます。

meshNameがプレーン文字列の場合、その名前に一致するサブメッシュ(存在する場合)のみがロードされます。

meshNameが正規表現の場合、その表現に一致するすべてのサブメッシュがロードされます。

注意: Wavefront OBJ ファイルだけがサブメッシュをサポートしています。

QRegularExpressionも参照してください


source : url

カスタムメッシュを含むファイルへのソースURLを保持します。


status : enumeration [read-only]

メッシュのロード状態を保持します。

Qt3DRender::QMesh::Status参照して ください。


© 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.