Affector3D QML Type
アフェクターは、パーティクルのライフタイム中にパーティクルの属性を変更します。詳細...
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: | |
| Inherited By: | Attractor3D, Gravity3D, PointRotator3D, Repeller3D, ScaleAffector3D, and Wander3D |
プロパティ
詳細説明
Affector3D はGravity3D,Wander3D,PointRotator3D のようなアフェクタの抽象基底クラスです。
デフォルトでは、影響子はシステム内のすべてのパーティクルに影響しますが、particles リストを定義することで、これを制限することができます。システムに複数の影響因子がある場合、影響因子が次々に適用されるため、影響因子の順序によって結果が異なることがあります。
プロパティ ドキュメント
enabled : bool
enabled がfalse に設定されている場合、このア クセクタはパーティクルを変更しません。通常、これは条件付きでアフェクタをオンまたはオフにするために使用されます。
デフォルト値はtrue です。
particles : List<Particle3D>
このリストは、どの論理パーティクルが影響を受けるかを制御します。空の場合、システム内のすべてのパーティクルが影響を受けます。
system : ParticleSystem3D
このプロパティは、アフェクタのParticleSystem3D を定義します。system がア クセクタの直接の親である場合、このプロパティを定義する必要はありません。
© 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.