PointRotator3D QML Type
围绕支点旋转粒子。更多
| Import Statement: | import QtQuick3D.Particles3D |
| Since: | Qt 6.2 |
| Inherits: |
属性
- direction : vector3d
- magnitude : real
- pivotPoint : vector3d
详细说明
该元素可将粒子绕pivotPoint 向direction 旋转。
属性文档
direction : vector3d
该属性定义了旋转的方向。数值将自动归一化为单位矢量。
默认值为(0.0, 1.0, 0.0) (围绕 Y 坐标)。
magnitude : real
该属性定义了以每秒度数为单位的幅度。负值与direction 的旋转方向相反。
默认值为10.0 。
pivotPoint : vector3d
此属性定义了旋转的支点。粒子将围绕该点旋转。
默认值为(0, 0, 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.