Performs a linear interpolation of two animation clips based on a normalized factor. 更多 …
def
blendFactor
()
def
endClip
()
def
startClip
()
def
setBlendFactor
(blendFactor)
def
setEndClip
(endClip)
def
setStartClip
(startClip)
def
blendFactorChanged
(blendFactor)
def
endClipChanged
(endClip)
def
startClipChanged
(startClip)
QLerpClipBlendcan 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.另请参阅
QBlendedClipAnimator
PySide2.Qt3DAnimation.Qt3DAnimation.
QLerpClipBlend
(
[
parent=None
]
)
¶
parent
–
QNode
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
blendFactor
(
)
¶
float
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
blendFactorChanged
(
blendFactor
)
¶
blendFactor
–
float
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
endClip
(
)
¶
QAbstractClipBlendNode
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
endClipChanged
(
endClip
)
¶
endClip
–
QAbstractClipBlendNode
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setBlendFactor
(
blendFactor
)
¶
blendFactor
–
float
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setEndClip
(
endClip
)
¶
endClip
–
QAbstractClipBlendNode
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
setStartClip
(
startClip
)
¶
startClip
–
QAbstractClipBlendNode
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
startClip
(
)
¶
QAbstractClipBlendNode
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend.
startClipChanged
(
startClip
)
¶
startClip
–
QAbstractClipBlendNode