Gravity QML Type
특정 각도로 가속도를 가하기 위해. 더 보기...
| Import Statement: | import QtQuick.Particles |
| Inherits: |
속성
상세 설명
이 요소는 영향을 받는 모든 입자를 지정된 각도 방향으로, 지정된 크기의 벡터만큼 가속시킵니다. 각도와 가속도가 변하지 않는 경우, 이미터(Emitter)에 지정된 가속도를 설정하는 것이 더 효율적입니다.
이 요소는 무게 중심이 멀리 떨어져 있어(따라서 장면 전체에 걸쳐 중력이 사실상 일정하게 작용하는) 거대한 물체의 중력을 모델링합니다. 장면 근처나 내부에 있는 물체의 중력을 모델링하려면 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.