MorphTarget QML Type
Define a morph target's properteis. More...
| Import Statement: | import QtQuick3D . |
Properties
- attributes : enumeration
- weight : float
Detailed Description
Each MorphTarget is a morph target for a vertex animation.
MorphTarget { id: morphtarget0 attributes: MorphTarget.Position | MorphTarget.Normal weight: 0.5 }
Property Documentation
Specifies the set of attributes of the current morph target. In order to animate some of vertex attribues in morphing, a mesh should have the target attribute inputs and a morph target should have that attributes.
Following values can be specified by OR-ing together.
| Constant | Description |
|---|---|
MorphTarget.Position | animates model's position |
MorphTarget.Normal | animates model's normal |
MorphTarget.Tangent | animates model's tangent |
MorphTarget.Binormal | animates model's binormal |