LerpBlend QML Type

Performs a linear interpolation of two animation clips based on a normalized factor 更多...

import 语句: import Qt3D.Animation 2.9
Since: Qt 5.9
实例化: QLerpClipBlend

特性

详细描述

LerpBlend can be useful to create advanced animation effects based on individual animation clips. For instance, given a player character,, lerp blending could be used to combine a walking animation clip with an injured animation clip based on a blend factor that increases the more the player gets injured. This would then allow with blend factor == 0 to have a non injured walking player, with blend factor == 1 a fully injured player, with blend factor == 0.5 a partially walking and injured player.

另请参阅 BlendedClipAnimator .

特性文档编制

blendFactor : real

Specifies the blending factor between 0 and 1 to control the blending of two animation clips.

clips : list < AnimationClip >

Holds the list of AnimationClip nodes against which the blending is performed.

注意: Only the two first AnimationClip are used, subsequent ones are ignored