- Qt 6.9
- Qt 3D
- QML Types
- Qt3D.Animation (Deprecated)
- MorphTarget
- Qt 6.9.1 Reference Documentation

# MorphTarget QML Type

A type providing morph targets to blend-shape animation. More...

Import Statement: | `import Qt3D.Animation 2.9`
In C++: | QMorphTarget
Inherits: | QtObject
Status: | Deprecated

- List of all members, including inherited members

## Properties

- attributeNames : list<string>
- attributes : list<Attribute>

## Methods

- MorphTarget fromGeometry(geometry, stringList)

## Detailed Description

A MorphTarget type is a convenience type, which provides a list of Attributes, which the MorphingAnimation uses to animate geometry. A MorphTarget can also be created based on existing Geometry.

## Property Documentation

attributeNames : list<string> `[read-only]`

Holds a list of attribute names contained in the morph target.

attributes : list<Attribute>

Holds the list of attributes in the morph target.

## Method Documentation

MorphTarget fromGeometry(geometry, stringList)

Returns a morph target based on the attributes defined by the given stringList from the given geometry.