- Qt 6.11
- Qt Quick
- QML Types
- QtQuick.Particles
- AngleDirection
- Qt 6.11.0 Reference Documentation

# AngleDirection QML Type

For specifying a direction that varies in angle. More...

Import Statement: | `import QtQuick.Particles`
Inherits: | Direction

- List of all members, including inherited members

## Properties

- angle : real
- angleVariation : real
- magnitude : real
- magnitudeVariation : real

## Detailed Description

The AngledDirection element allows both the specification of a direction by angle and magnitude, as well as varying the parameters by angle or magnitude.

## Property Documentation

### angle : real

This property specifies the base angle for the direction. The angle of this direction will vary by no more than angleVariation from this angle.

Angle is specified by degrees clockwise from straight right.

The default value is zero.

### angleVariation : real

This property specifies the maximum angle variation for the direction. The angle of the direction will vary by up to angleVariation clockwise and anticlockwise from the value specified in angle.

Angle is specified by degrees clockwise from straight right.

The default value is zero.

### magnitude : real

This property specifies the base magnitude for the direction. The magnitude of this direction will vary by no more than magnitudeVariation from this magnitude.

Magnitude is specified in units of pixels per second.

The default value is zero.

### magnitudeVariation : real

This property specifies the base magnitude for the direction. The magnitude of this direction will vary by no more than magnitudeVariation from the base magnitude.

Magnitude is specified in units of pixels per second.

The default value is zero.