TrailEmitter QML Type
他の論理粒子から論理粒子を放出します。詳細...
| Import Statement: | import QtQuick.Particles |
| Inherits: |
プロパティ
- emitHeight : real
- emitRatePerParticle : real
- emitShape : Shape
- emitWidth : real
- follow : string
- velocityFromMovement : real
信号
- emitFollowParticles(Array particles, Particle followed)
詳細説明
この要素は、ParticleSystem へ論理粒子を放出します。その開始位置は、他の論理粒子の位置に基づいて決定されます。
プロパティのドキュメント
emitHeight : real
emitShape がスケーリングされる高さ(ピクセル単位)。TrailEmitter.ParticleSize に設定すると、高さは追跡中のパーティクルの現在のサイズになります。
デフォルトは 0 です。
emitRatePerParticle : real
emitShape : Shape
TrailEmitter の面積はその追従対象の面積となるため、発射元の形状として別の形状を指定することができます。この形状の幅と高さは、emitWidth およびemitHeight で指定され、追従対象のパーティクルの位置を中心に配置されます。
デフォルトの形状は、塗りつぶされた矩形です。
emitWidth : real
emitShape がスケーリングされる幅(ピクセル単位)。TrailEmitter.ParticleSizeに設定すると、幅は追跡中のパーティクルの現在のサイズになります。
デフォルトは 0 です。
follow : string
これが発している論理粒子の種類。
velocityFromMovement : real
この値が 0 以外の場合、エミッタの動きに応じて、その動きに基づいてパーティクルに追加の初期速度が与えられます。追加されるベクトルの角度はエミッタの動きの角度と同じになり、大きさはエミッタの動きの大きさに `velocityFromMovement` を乗じた値になります。
デフォルト値は 0 です。
シグナルのドキュメント
emitFollowParticles(Array particles, Particle followed)
このシグナルは、followed パーティクルからパーティクルが放出されたときに発火します。particles には、直接操作可能なパーティクルオブジェクトの配列が含まれています。
このシグナルハンドラを使用すると、emitParticlesは発火しません。
注: 対応するハンドラは `onEmitFollowParticles` です。
© 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.