MorphingAnimation QML Type
Un tipo que implementa la animación blend-shape morphing. Más...
| Import Statement: | import Qt3D.Animation 2.11 |
| In C++: | QMorphingAnimation |
| Inherits: | |
| Status: | Deprecated |
Propiedades
- easing : EasingCurve
- interpolator : real
- method : enumeration
- morphTargets : list<MorphTarget>
- target : GeometryRenderer
- targetName : string
- targetPositions : list<real>
Descripción detallada
Un tipo MorphingAnimation implementa animación de morphing de forma de mezcla a un objetivo GeometryRenderer. La MorphingAnimation establece el correcto Attributes desde los objetivos morph al objetivo GeometryRenderer::geometry y calcula el interpolador para la posición actual. La mezcla real entre los atributos debe ser implementada en el material. MorphPhongMaterial implementa un material con soporte de morphing para el modelo de iluminación phong. La mezcla se produce entre 2 atributos - 'base' y 'target'. Los nombres de los atributos base y objetivo se toman de los nombres de los objetivos morph, donde el atributo base retiene el nombre que ya tiene y el nombre del atributo objetivo tiene 'Target' añadido al nombre. Todos los objetivos morph de la animación deben contener los atributos con los mismos nombres que los de la geometría base.
Documentación de propiedades
easing : EasingCurve
Contiene la curva de relajación del interpolador entre objetivos morph.
interpolator : real [read-only]
Contiene el interpolador entre los atributos base y destino.
method : enumeration
Indica el método de morphing. Por defecto es Relativo.
- Normalizado
- Relativo
morphTargets : list<MorphTarget>
Contiene la lista de objetivos morph en la animación morphing.
target : GeometryRenderer
Mantiene el destino GeometryRenderer al que se aplica la animación de morphing.
targetName : string
Contiene el nombre de la geometría objetivo. Se trata de una propiedad práctica que facilita la correspondencia entre la geometría de destino y la animación de morphing. El nombre suele ser el mismo que el de la entidad padre del objetivo GeometryRenderer, pero no tiene por qué serlo.
targetPositions : list<real>
Contiene los valores de posición del objetivo morph. Cada posición de la lista especifica la posición del objetivo morph correspondiente con el mismo índice. Los valores deben estar en orden ascendente. Los valores pueden ser positivos o negativos y no tienen ninguna unidad predefinida.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.