新建一个TirePressureLabel来显示胎压的标签
显示效果如下:
整合代码如下:
import QtQuick 2.15
import QtQuick3D 1.15
import DigitalCluster 1.0
Node{
id:rootNode
Model{
id:plane001
eulerRotation.x:-90
source:"meshes/plane001.mesh"
materials: defaultMaterial
DefaultMaterial{
id:defaultMaterial
blendMode: DefaultMaterial.SourceOver //渲染模式
lighting:DefaultMaterial.FragmentLighting
emissiveFactor: 0.2