このページでは

ParticleGroup QML Type

論理パーティクルグループに属性を設定する場合。詳細...

Import Statement: import QtQuick.Particles

プロパティ

詳細説明

この要素を使用すると、パーティクルグループに対して時間指定のトランジションを設定できます。

また、この要素を使用して、論理的なパーティクルグループに関連するパーティクルシステム要素をグループ化することもできます。ParticleGroupの直接の子要素として設定されたエミッター、エフェクター、ペインターは、自動的にその論理的なパーティクルグループに適用されます。トレイルエミッターは自動的にグループを追跡します。

グループに対して ParticleGroup 要素が定義されていない場合、そのグループは、トランジションプロパティが一切設定されていないかのように通常通り機能します。

プロパティのドキュメント

duration : int

グループが遷移を試みるまでの時間をミリ秒単位で指定します。

durationVariation : ParticleSystem

グループ内の各パーティクルごとに、遷移サイクルの持続時間が変動する最大値(ミリ秒単位)。

デフォルト値は0です。

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.