Gravity3D QML Type
입자를 지정된 방향으로, 지정된 크기의 벡터만큼 가속시킵니다. 더 보기...
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
속성
상세 설명
이 요소는 무게 중심이 멀리 떨어져 있어(따라서 장면 전체에 걸쳐 중력 작용이 사실상 일정하게 유지되는) 거대한 물체의 중력을 모델링합니다. 장면 근처나 내부에 있는 물체의 중력을 모델링하려면 Attractor3D 를 사용하십시오.
속성 설명
direction : vector3d
이 속성은 중력이 작용하는 방향을 정의합니다. 값은 자동으로 단위 벡터로 정규화됩니다.
기본값은 (0.0, -1.0, 0.0) (아래쪽)입니다.
magnitude : real
이 속성은 초당 위치 변화의 크기를 정의합니다. 음수 값일 경우, direction 과 반대 방향으로 가속합니다.
기본값은 100.0 입니다.
© 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.