Enables loading key frame animation data from a file. 更多 …
def
sourceChanged
(source)
def
statusChanged
(status)
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
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.
source
(
)
¶
QUrl
另请参阅
PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.
sourceChanged
(
source
)
¶
source
–
QUrl
PySide2.Qt3DAnimation.Qt3DAnimation.QAnimationClipLoader.
status
(
)
¶
Returns the status of the animation clip.