7 required property url meshSource
8 required property vector3d pivotPoint
9 property int flightMode: 0
10 property real rotationTarget: 360
12 readonly property int _armedDuration: 1000
13 readonly property int _flyingDuration: 300
17 onFlightModeChanged: {
20 propAnimation.duration = _armedDuration;
23 propAnimation.duration = _flyingDuration;
27 propAnimation.restart();
33 pivot: root.pivotPoint
36 source: root.meshSource
37 materials: PrincipledMaterial {
39 indexOfRefraction: 1.0
51 properties: "eulerRotation.y"
53 to: root.rotationTarget
55 loops: Animation.Infinite
56 running: root.flightMode > 0