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