Kuesa Runtime

AnimationClipCollection Class

class Kuesa::AnimationClipCollection

A collection of assets of type Qt3DAnimation::QAbstractAnimationClip. More...

Header: #include <Kuesa/AnimationClipCollection>
Since: Kuesa 1.0
Inherits: Kuesa::AbstractAssetCollection

This class was introduced in Kuesa 1.0.

Public Functions

Qt3DAnimation::QAnimationClipLoader *add(const QString &name, const QUrl &source)

Detailed Description

Kuesa::AnimationClipCollection manages a set of animation clips assets. This includes Qt3DAnimation::QAnimationClip and Qt3DAnimation::QAnimationClipLoader instances.

Member Function Documentation

Qt3DAnimation::QAnimationClipLoader *AnimationClipCollection::add(const QString &name, const QUrl &source)

Utility method to create an instance of Qt3DAnimation::QAnimationClipLoader for the source and register it in the collection with the name.

The generated instance is parented with the collection and returned to the caller.