A class providing morph targets to blend-shape animation. More…
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
QMorphTarget class is a convenience class, which provides a list of
QAttributes , which the
QMorphingAnimation uses to animate geometry. A
QMorphTarget can also be created based on existing
- class PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget([parent=None])#
QMorphTarget with given
Properties can be used directly when
from __feature__ import true_property is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget.attributeNames: list of strings#
Holds a list of attribute names contained in the morph target.
attribute the morph target. An attribute with the same name must not have been added previously to the morph target.
- Return type:
Returns a list of attributes contained in the morph target.
- Return type:
list of strings
Getter of property
attributeNames – list of strings
Notification signal of property
- static PySide6.Qt3DAnimation.Qt3DAnimation.QMorphTarget.fromGeometry(geometry, attributes)#
Returns a morph target based on the
attributes in the given
attribute from the morph target.
attributes to the morph target. Old attributes are cleared.