Qt3DAnimation.QLerpClipBlend¶
Performs a linear interpolation of two animation clips based on a normalized factor. More…

Synopsis¶
Functions¶
def
blendFactor
()def
endClip
()def
startClip
()
Slots¶
def
setBlendFactor
(blendFactor)def
setEndClip
(endClip)def
setStartClip
(startClip)
Signals¶
def
blendFactorChanged
(blendFactor)def
endClipChanged
(endClip)def
startClipChanged
(startClip)
Detailed Description¶
QLerpClipBlend
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.See also
QBlendedClipAnimator
-
class
PySide2.Qt3DAnimation.Qt3DAnimation.
QLerpClipBlend
([parent=None])¶ - Parameters
parent –
QNode
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
blendFactor
()¶ - Return type
float
See also
setBlendFactor()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
blendFactorChanged
(blendFactor)¶ - Parameters
blendFactor –
float
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
endClip
()¶ - Return type
QAbstractClipBlendNode
See also
setEndClip()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
endClipChanged
(endClip)¶ - Parameters
endClip –
QAbstractClipBlendNode
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setBlendFactor
(blendFactor)¶ - Parameters
blendFactor –
float
See also
blendFactor()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setEndClip
(endClip)¶ - Parameters
endClip –
QAbstractClipBlendNode
See also
endClip()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setStartClip
(startClip)¶ - Parameters
startClip –
QAbstractClipBlendNode
See also
startClip()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
startClip
()¶ - Return type
QAbstractClipBlendNode
See also
setStartClip()
-
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
startClipChanged
(startClip)¶ - Parameters
startClip –
QAbstractClipBlendNode