ParticleModelShape3D QML Type
エミッターおよびアフェクター向けに、モデルに基づく粒子形状を提供します。詳細...
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
プロパティ
詳細な説明
ParticleModelShape3D 要素を使用すると、3D モデルからパーティクルの形状を取得できます。
たとえば、モデル形状の輪郭からパーティクルを放出するには:
Component {
id: suzanneComponent
Model {
source: "meshes/suzanne.mesh"
scale: Qt.vector3d(100, 100, 100)
}
}
ParticleEmitter3D {
shape: ParticleModelShape3D {
model: suzanneComponent
fill: false
}
...
}プロパティのドキュメント
delegate : Component
このデリゲートは、ParticleModelShape3D のモデルを定義するテンプレートを提供します。たとえば、デフォルトの球体モデルとデフォルトのマテリアルを使用する場合などです。
Component {
id: modelComponent
Model {
source: "#Sphere"
scale: Qt.vector3d(0.5, 0.5, 0.5)
materials: DefaultMaterial { diffuseColor: "red" }
}
}
ParticleModelShape3D {
delegate: modelComponent
}fill : bool
このプロパティは、図形を塗りつぶすか、それとも輪郭線のみを表示するかを指定します。
デフォルト値は「true 」です。
© 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.