ParticleShape3D QML Type
エミッタやエフェクタの3D形状を提供します。詳細...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
プロパティ
詳細説明
ParticleShape3D要素は、パーティクルのニーズに合わせて、Cube
、Sphere
、Cylinder
のような形状をサポートしています。例えば、エミッタはshape プロパティを使用して、シェイプ領域からパーティクルを放出できます。
シェイプは位置、スケール、回転を持ちません。代わりに、これらのプロパティには親ノードを使用します。
プロパティの説明
ShapeType : enumeration |
シェイプのタイプを定義します。
定数 | 説明 |
---|---|
ParticleShape3D.Cube | 立方体の形状 |
ParticleShape3D.Sphere | 球形状。 |
ParticleShape3D.Cylinder | 円柱形状。 |
extents : vector3d |
このプロパティは、形状の拡張を定義します。
各軸のデフォルト値は50
です。
fill : bool |
このプロパティは、シェイプを塗りつぶすか、シェイプのアウトラインだけを使用するかを定義します。
デフォルト値はtrue
です。
type : ShapeType |
このプロパティは、図形のタイプを定義します。
デフォルト値はParticleShape3D.Cube
です。
© 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.