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.