MorphTarget QML Type

Define a morph target's properteis. More...

Import Statement: import QtQuick3D .

Properties

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

attributes : enumeration

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.

ConstantDescription
MorphTarget.Positionanimates model's position
MorphTarget.Normalanimates model's normal
MorphTarget.Tangentanimates model's tangent
MorphTarget.Binormalanimates model's binormal

weight : float

Specifies the weight of the current morph target.