Invalid property name clipPlanes.
-
import QtQuick 6.9
import QtQuick.Controls 6.9
import QtQuick3D 6.9View3D {
anchors.fill: parentCustomCamera { id: camera position: Qt.vector3d(0, 3, 10) eulerRotation: Qt.vector3d(-15, 0, 0) clipPlanes: Qt.vector2d(0.1, 100.0) // replaces nearPlane & farPlane } DirectionalLight { worldDirection: Qt.vector3d(-1, -1, -1) } Model { source: "qrc:/assets/car_model.glb" scale: Qt.vector3d(1.5, 1.5, 1.5) materials: DefaultMaterial {} }
}
I have use another syntax(like nearPlane & farPlane) but still facing same issue.I'm using 6.9 version. -
Hi and welcome to devnet,
From a quick look, these last two properties are available through: PerspectiveCamera.