Description
For the actually valid example, see attached project. The user is creating Qt3D's quaternion value type and looking for the "times" method on it ... which doesn't exist.
The following code from the documentation results in this error:
var a = Qt.quaternion(1 / Math.sqrt(2), 1 / Math.sqrt(2), 0, 0);var b = Qt.quaternion(1 / Math.sqrt(2), 0, 1 / Math.sqrt(2), 0);var c = b.times(a);
qrc:/ColorDepthRenderTarget.qml:64: TypeError: Type error
qrc:/ColorDepthRenderTarget.qml:64: TypeError: Property 'times' of object QQuaternion(0.707107, 0, 0.707107, 0) is not a function