Gravity QML Type

각도로 가속을 적용하는 데 사용됩니다. 더 보기...

Import Statement: import QtQuick.Particles
Inherits:

Affector

속성

상세 설명

이 요소는 영향을 받는 모든 파티클을 지정된 각도에서 지정된 크기의 벡터로 가속합니다. 각도와 가속도가 변하지 않는 경우 이미터에 지정된 가속도를 설정하는 것이 더 효율적입니다.

이 요소는 무게 중심이 멀리 떨어져 있는 거대한 물체의 중력을 모델링합니다(따라서 중력은 씬 전체에서 효과적으로 일정합니다). 씬 근처 또는 내부에 있는 오브젝트의 중력을 모델링하려면 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.