新建一个Car.qml来显示Car的模型
import QtQuick 2.15
import QtQuick3D 1.15
Node{
id:rootNode
Model{
id:car
position: Qt.vector3d(0,189.294,50.815) //位置
eulerRotation.x:-88.2698 //绕X旋转
source:"meshes/car.mesh" //资源
DefaultMaterial{
id:material__77_material
fresnelPower: 204
specularTint: "#ffffff" //镜面反射量
diffuseMap: carTexture
diffuseColor: "#ffffff"
}
DefaultMaterial{
id:material__78_material
indexOfRefraction: 3
diffuseColor: "#ff0d0d0d"
}