diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2017-01-19 16:16:37 +0000 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2017-01-27 07:04:21 +0000 |
commit | f4f671f201e2fb39c623a20e659b906d54a9d906 (patch) | |
tree | a60b49092b9720997a23af0890cfddb160d116f9 /src/animation/backend/handle_types_p.h | |
parent | e8ed0df38161d106c3fffac8bb14c5ad456941e5 (diff) |
Add animation components
Three levels of animation playback are available at present for
keyframe animation:
1) Direct playback of a clip via QClipAnimator
2) Playback of a blend tree of clips via QBlendedClipAnimator
3) Playback of a set of blend trees controlled with a state machine
via QConductedClipAnimator
This commit adds the frontend and backend nodes for all 3
components and registers them. The blended and conducted animator
components are just empty skeletons for now.
Change-Id: If2f0a912c003f3d20f830a8f6174946eea6b47e6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/animation/backend/handle_types_p.h')
-rw-r--r-- | src/animation/backend/handle_types_p.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/animation/backend/handle_types_p.h b/src/animation/backend/handle_types_p.h index 874b197a9..5147a984a 100644 --- a/src/animation/backend/handle_types_p.h +++ b/src/animation/backend/handle_types_p.h @@ -59,8 +59,14 @@ namespace Qt3DAnimation { namespace Animation { class AnimationClip; +class ClipAnimator; +class BlendedClipAnimator; +class ConductedClipAnimator; typedef Qt3DCore::QHandle<AnimationClip, 16> HAnimationClip; +typedef Qt3DCore::QHandle<ClipAnimator, 16> HClipAnimator; +typedef Qt3DCore::QHandle<BlendedClipAnimator, 12> HBlendedClipAnimator; +typedef Qt3DCore::QHandle<ConductedClipAnimator, 8> HConductedClipAnimator; } // namespace Animation } // namespace Qt3DAnimation |