setProperty("position", QVector3D{x, y, z}" /> setProperty("position", QVector3D{x, y, z}" /> setProperty("position", QVector3D{x, y, z}"/>

Set QML node's property other than setProperty

41 Views Asked by At

Is it possible to update the property "position" other than QQuick3DObject::setProperty ?

myQQuick3DObject->setProperty("position", QVector3D{x, y, z});

I am in a context where I receive from udp socket a large flow of updates per seconds for this property, and I can not help thinking that looking for a property in a list is a real bottleneck.

Intuitively, I tell myself that I'm not doing it the right way. QQuick3DNode class could have met my need but is private.

0

There are 0 best solutions below