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.