QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
DronePart.qml
Go to the documentation of this file.
1import QtQuick
2import QtQuick3D
3
4Node {
5 id: root
6
7 required property url meshSource
8 property color baseColor: "gray"
9 property real indexOfRefraction: 1.0
10 property real metalness: 0.1
11
12 Model {
13 source: root.meshSource
14 materials: PrincipledMaterial {
15 baseColor: root.baseColor
16 indexOfRefraction: root.indexOfRefraction
17 metalness: root.metalness
18 opacity: 1.0
19 roughness: 0.1
20 specularAmount: 1.0
21 }
22 }
23}