内容表

上一话题

Qt3DAnimation.QAnimationController

下一话题

Qt3DAnimation.QBlendedClipAnimator

Qt3DAnimation.QAnimationGroup

A class grouping animations together. 更多 …

Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup

概要

函数

槽

信号

详细描述

QAnimationGroup class is used to group multiple animations so that they can act as one animation. The position set to the group is also set to all animations in a group. The duration is the maximum of the individual animations. The animations can be any supported animation type and do not have to have the same name.

class PySide2.Qt3DAnimation.Qt3DAnimation. QAnimationGroup ( [ parent=None ] )
param parent

QObject

Constructs an QAnimationGroup with parent .

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. addAnimation ( animation )
参数

animation – QAbstractAnimation

Adds new animation to the group.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. animationList ( )
返回类型

Returns the list of animations in the group.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. duration ( )
返回类型

float

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. durationChanged ( duration )
参数

duration – float

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. name ( )
返回类型

unicode

另请参阅

setName()

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. nameChanged ( name )
参数

name – unicode

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. position ( )
返回类型

float

另请参阅

setPosition()

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. positionChanged ( position )
参数

position – float

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. removeAnimation ( animation )
参数

animation – QAbstractAnimation

移除 animation from the group.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. setAnimations ( animations )
参数

animations –

设置 animations to the group. Old animations are removed.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. setName ( name )
参数

name – unicode

另请参阅

name()

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationGroup. setPosition ( position )
参数

position – float

另请参阅

position()