Gravity3D QML Type
パーティクルを指定された方向に指定された大きさのベクトルに加速する。詳細...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
Inherits: |
プロパティ
詳細説明
この要素は、重心が遠くにある巨大なオブジェクトの重力をモデル化します(したがって、重力はシーン全体で実質的に一定です)。シーンの近くや内部にある物体の重力をモデル化するには、Attractor3D を使用してください。
プロパティ ドキュメント
direction : vector3d |
このプロパティは、重力が向かう方向を定義します。値は自動的に単位ベクトルに正規化されます。
デフォルト値は(0.0, -1.0, 0.0)
(下向き)です。
© 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.