Details
-
Technical task
-
Resolution: Out of scope
-
Not Evaluated
-
None
Description
Right now the name is only "visible" in the Q3DSPropertyChange returned by the setter.
However, slides work with the original property names as string:
slide1->addPropertyChanges(wonderfulCarModel, new Q3DSPropertyChangeList { Q3DSPropertyChange::fromVariant(QLatin1String("rotation"), QVector3D(0, 180, 0)) }); Q3DSAnimationTrack anim(Q3DSAnimationTrack::Linear, model1, QLatin1String("rotation.z"));
Hence the need for something that can be used to retrieve the name (which is "rotation" for Q3DSNode::rotation() in the above example, but is not always that straightforward)
For the editor this is a non-issue since it needs to work with the properties in the more dynamic manner (set values via applyPropertyChanges/Q3DSPropertyChangeList, not via the setters), and so the property names are expected to be known.