内容表

上一话题

Qt3DAnimation.QAnimationClip

下一话题

Qt3DAnimation.QAnimationController

Qt3DAnimation.QAnimationClipLoader

Enables loading key frame animation data from a file. 更多

Inheritance diagram of PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader

概要

函数

信号

详细描述

class PySide2.Qt3DAnimation.Qt3DAnimation. QAnimationClipLoader ( [ parent=None ] )

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader(source[, parent=None])

参数
  • parent QNode

  • source QUrl

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. Status

This enum identifies the status of animation clip.

常量

描述

Qt3DAnimation.QAnimationClipLoader.NotReady

The clip has not been loaded yet

Qt3DAnimation.QAnimationClipLoader.Ready

The clip was successfully loaded

Qt3DAnimation.QAnimationClipLoader.Error

An error occurred while loading the clip

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. setSource ( source )
参数

source QUrl

另请参阅

source()

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. source ( )
返回类型

QUrl

另请参阅

setSource()

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. sourceChanged ( source )
参数

source QUrl

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. status ( )
返回类型

Status

Returns the status of the animation clip.

PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader. statusChanged ( status )
参数

status Status