Gravity QML Type
ある角度で加速度を与える場合。詳細...
| Import Statement: | import QtQuick.Particles |
| Inherits: |
プロパティ
詳細な説明
この要素は、影響を受けるすべてのパーティクルを、指定された大きさのベクトルで指定された角度方向に加速します。角度と加速度が変化しない場合は、エミッターに指定された加速度を設定する方が効率的です。
この要素は、重心が遠くにある(したがってシーン全体で引力が実質的に一定である)質量のある物体の重力をモデル化します。シーンの近くや内部にある物体の重力をモデル化するには、PointAttractor を使用してください。
プロパティのドキュメント
angle : real
加速度の角度。
magnitude : real
オブジェクトが加速されるピクセル毎秒。
© 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.