#include <AnimationSet.h>
Inheritance diagram for Lamp::AnimationSet:
Public Member Functions | |
virtual void | addAnimation (Animation *animation) |
アニメーションの追加 | |
virtual void | removeAnimation (Animation *animation) |
アニメーションの削除 | |
virtual int | getAnimationCount () const |
アニメーション数の取得 | |
virtual Animation * | getAnimation (int index) const |
アニメーションの取得 | |
virtual bool | bind (Scene *scene) |
バインド | |
virtual void | unbind () |
バインド解除 | |
virtual int | getSequenceCount () const |
シーケンス数の取得 | |
virtual void | setSequence (int sequence, float time=0.f) |
シーケンスの設定 | |
virtual int | getSequence () const |
シーケンスの取得 | |
virtual void | setTime (float time) |
時間の設定 | |
virtual float | getTime () const |
時間の取得 | |
virtual bool | animate (float deltaTime, AnimationMask mask) |
アニメーション | |
virtual float | getLength () const |
長さの取得 | |
virtual bool | isFinished () const |
終了しているか | |
virtual bool | isLooped () const |
ループしているか | |
virtual Animation * | copy (DataCopyMask dataCopyMask=copyNone) const |
コピー | |
virtual AnimationSet * | copyAnimationSet (DataCopyMask dataCopyMask=copyNone) const |
アニメーションセットのコピー | |
virtual bool | isAnimationSet () const |
アニメーションセットかどうか | |
Protected Member Functions | |
AnimationSet (String name, AnimationManager *manager) | |
コンストラクタ | |
virtual | ~AnimationSet () |
デストラクタ | |
Friends | |
class | AnimationManager |
Definition at line 37 of file AnimationSet.h.
|
コンストラクタ
Definition at line 33 of file AnimationSet.cpp. |
|
アニメーションの追加
Definition at line 47 of file AnimationSet.h. References Lamp::ArrayList< Animation * >::add(). Referenced by copyAnimationSet(), Lamp::TextAnimationLoader::readAnimationSetLink(), and Lamp::BinaryAnimationLoader::readAnimationSetLink(). |
|
アニメーション
Implements Lamp::Animation. Definition at line 116 of file AnimationSet.cpp. References Lamp::Animation::animate(), getAnimation(), getAnimationCount(), and Lamp::Animation::isEnabled(). |
|
バインド
Implements Lamp::Animation. Definition at line 42 of file AnimationSet.cpp. References Lamp::Animation::bind(), getAnimation(), and getAnimationCount(). |
|
コピー
Implements Lamp::Animation. Definition at line 165 of file AnimationSet.h. References copyAnimationSet(). Referenced by copyAnimationSet(). |
|
アニメーションセットのコピー
Definition at line 163 of file AnimationSet.cpp. References addAnimation(), copy(), Lamp::AnimationManager::createAnimationSet(), getAnimation(), getAnimationCount(), Lamp::Animation::getManager(), Lamp::Animation::getName(), Lamp::Animation::isEnabled(), and Lamp::Animation::setEnabled(). Referenced by copy(). |
|
アニメーションの取得
Definition at line 70 of file AnimationSet.h. References Assert, Lamp::ArrayList< Animation * >::get(), and getAnimationCount(). Referenced by animate(), bind(), Lamp::AnimationCompressor::compressAnimationSet(), copyAnimationSet(), getLength(), getSequence(), getSequenceCount(), getTime(), isFinished(), isLooped(), setSequence(), setTime(), unbind(), Lamp::TextAnimationSaver::writeAnimationSetLink(), and Lamp::BinaryAnimationSaver::writeAnimationSetLink(). |
|
アニメーション数の取得
Definition at line 63 of file AnimationSet.h. References Lamp::ArrayList< Animation * >::getCount(). Referenced by animate(), bind(), Lamp::AnimationCompressor::compressAnimationSet(), copyAnimationSet(), getAnimation(), getLength(), getSequence(), getSequenceCount(), getTime(), isFinished(), isLooped(), setSequence(), setTime(), unbind(), Lamp::TextAnimationSaver::writeAnimationSetLink(), and Lamp::BinaryAnimationSaver::writeAnimationSetLink(). |
|
長さの取得
Implements Lamp::Animation. Definition at line 129 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::getLength(). |
|
シーケンスの取得
Implements Lamp::Animation. Definition at line 84 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::getSequence(). |
|
シーケンス数の取得
Implements Lamp::Animation. Definition at line 61 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::getSequenceCount(). Referenced by setSequence(). |
|
時間の取得
Implements Lamp::Animation. Definition at line 103 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::getTime(). |
|
アニメーションセットかどうか
Reimplemented from Lamp::Animation. Definition at line 184 of file AnimationSet.h. |
|
終了しているか
Implements Lamp::Animation. Definition at line 142 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::isFinished(). |
|
ループしているか
Implements Lamp::Animation. Definition at line 153 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::isLooped(). |
|
アニメーションの削除
Definition at line 55 of file AnimationSet.h. References Lamp::ArrayList< Animation * >::removeByValue(). |
|
シーケンスの設定
Implements Lamp::Animation. Definition at line 74 of file AnimationSet.cpp. References Assert, getAnimation(), getAnimationCount(), getSequenceCount(), and Lamp::Animation::setSequence(). |
|
時間の設定
Implements Lamp::Animation. Definition at line 97 of file AnimationSet.cpp. References getAnimation(), getAnimationCount(), and Lamp::Animation::setTime(). |