内容表

上一话题

Qt3DAnimation.QKeyframeAnimation

下一话题

Qt3DAnimation.QMorphTarget

Qt3DAnimation.QLerpClipBlend

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

Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend

概要

函数

信号

详细描述

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.

另请参阅

QBlendedClipAnimator

class PySide2.Qt3DAnimation.Qt3DAnimation. QLerpClipBlend ( [ parent=None ] )
参数

parent QNode

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. blendFactor ( )
返回类型

float

另请参阅

setBlendFactor()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. blendFactorChanged ( blendFactor )
参数

blendFactor float

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. endClip ( )
返回类型

QAbstractClipBlendNode

另请参阅

setEndClip()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. endClipChanged ( endClip )
参数

endClip QAbstractClipBlendNode

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. setBlendFactor ( blendFactor )
参数

blendFactor float

另请参阅

blendFactor()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. setEndClip ( endClip )
参数

endClip QAbstractClipBlendNode

另请参阅

endClip()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. setStartClip ( startClip )
参数

startClip QAbstractClipBlendNode

另请参阅

startClip()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. startClip ( )
返回类型

QAbstractClipBlendNode

另请参阅

setStartClip()

PySide2.Qt3DAnimation.Qt3DAnimation.QLerpClipBlend. startClipChanged ( startClip )
参数

startClip QAbstractClipBlendNode