PointRotator3D QML Type
Rotates particles around a pivot point. More...
Import Statement: | import QtQuick3D.Particles3D |
Since: | Qt 6.2 |
Inherits: |
Properties
- direction : vector3d
- magnitude : real
- pivotPoint : vector3d
Detailed Description
This element rotates particles around a pivotPoint towards the direction.
Property Documentation
direction : vector3d |
This property defines the direction for the rotation. Values will be automatically normalized to a unit vector.
The default value is (0.0, 1.0, 0.0)
(around the y-coordinate).
magnitude : real |
This property defines the magnitude in degrees per second. Negative magnitude rotates to the opposite way from the direction.
The default value is 10.0
.
pivotPoint : vector3d |
This property defines the pivot point for the rotation. Particles are rotated around this point.
The default value is (0, 0, 0)
(the center of particle system).