ParticleShape3D QML Type
エミッターおよびアフェクター用の3D形状を提供します。詳細…
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
プロパティ
詳細な説明
ParticleShape3D要素は、パーティクルの要件に合わせて、Cube 、Sphere 、Cylinder などの形状をサポートしています。例えば、エミッターはshape プロパティを使用して、その形状の領域からパーティクルを放出することができます。
シェイプには、位置、スケール、回転のプロパティはありません。代わりに、これらのプロパティについては親ノードの値が使用されます。
プロパティのドキュメント
ShapeType : enumeration
図形のタイプを定義します。
| 定数 | 説明 |
|---|---|
ParticleShape3D.Cube | 立方体の形状。 |
ParticleShape3D.Sphere | 球体形状。 |
ParticleShape3D.Cylinder | 円柱形状。 |
extents : vector3d
このプロパティは、図形の範囲を定義します。
各軸のデフォルト値は50 です。
fill : bool
このプロパティは、図形を塗りつぶすか、それとも輪郭線のみを表示するかを指定します。
デフォルト値は「true 」です。
type : ShapeType
このプロパティは、図形のタイプを定義します。
デフォルト値はParticleShape3D.Cube です。
© 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.