ParticleGroup QML Type
論理粒子グループの属性を設定します。詳細...
| Import Statement: | import QtQuick.Particles |
プロパティ
- duration : int
- durationVariation : ParticleSystem
- name : string
- system : ParticleSystem
- to : ParticleSystem
詳細説明
パーティクルグループに時間的な遷移を設定するためのエレメントです。
また、このエレメントを使用して、論理パーティクルグループに関連するパーティクルシステムエレメントをグループ化することもできます。ParticleGroupの直接の子として設定されたエミッタ、アフェクタ、ペインタは、自動的にその論理パーティクルグループに適用されます。TrailEmitters は自動的にグループに従います。
グループに ParticleGroup 要素が定義されていない場合、そのグループはトランジション プロパティが設定されていないものとして通常どおり機能します。
プロパティの説明
duration : int
グループがトランジションを試みるまでの時間(ミリ秒単位)。
durationVariation : ParticleSystem
トランジションサイクルの持続時間がグループ内のパーティクルごとに変化する最大ミリ秒数。
デフォルト値はゼロです。
name : string
これはパーティクルグループの名前であり、一般的に他の要素から参照される方法です。
エレメントが明示的にParticleGroup が作成されていない名前を参照する場合、(グループにトランジションが指定されていない)通常どおり動作します。デュレーションベースのトランジションをグループに割り当てる必要がない場合は、その名前でParticleGroup (作成してもよい)を作成する必要はありません。
system : ParticleSystem
これはグループを含むシステムである。
ParticleGroup がParticleSystem の直接の子であれば、自動的にそれに関連付けられる。
to : ParticleSystem
このグループに有効なトランジションの重み付きリスト。
選択されたトランジションがこのグループに留まる場合、別のトランジションが試行される前に、さらに継続時間(±最大durationVariation )ミリ秒が発生する。
© 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.