Documentation
Urho3D::Animation2D Class Reference
#include <Animation2D.h>
Inheritance diagram for Urho3D::Animation2D:
Collaboration diagram for Urho3D::Animation2D:
Public Member Functions | |
Animation2D (AnimationSet2D *animationSet) | |
Construct. | |
virtual | ~Animation2D () |
Destruct. | |
void | SetName (const String &name) |
Set name. | |
void | SetLength (float length) |
Set length. | |
void | SetLooped (bool looped) |
Set looped. | |
AnimationSet2D * | GetAnimationSet () const |
Return animation set. | |
const String & | GetName () const |
Return name. | |
float | GetLength () const |
Return length. | |
bool | IsLooped () const |
Return looped. | |
unsigned | GetNumTracks () const |
Return number of animation tracks. | |
const AnimationTrack2D & | GetTrack (unsigned index) const |
Return animation track. | |
Vector< AnimationTrack2D > & | GetAllTracks () |
Return all animation tracks (internal use only). | |
Public Member Functions inherited from Urho3D::RefCounted | |
RefCounted () | |
Construct. Allocate the reference count structure and set an initial self weak reference. | |
virtual | ~RefCounted () |
Destruct. Mark as expired and also delete the reference count structure if no outside weak references exist. | |
void | AddRef () |
Increment reference count. Can also be called outside of a SharedPtr for traditional reference counting. | |
void | ReleaseRef () |
Decrement reference count and delete self if no more references. Can also be called outside of a SharedPtr for traditional reference counting. | |
int | Refs () const |
Return reference count. | |
int | WeakRefs () const |
Return weak reference count. | |
RefCount * | RefCountPtr () |
Return pointer to the reference count structure. | |
Private Attributes | |
WeakPtr< AnimationSet2D > | animationSet_ |
Animation set. | |
String | name_ |
Name. | |
float | length_ |
Length. | |
bool | looped_ |
Looped. | |
Vector< AnimationTrack2D > | tracks_ |
Animation tracks. | |
Detailed Description
2D Animation.
The documentation for this class was generated from the following files:
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/Animation2D.h
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Urho2D/Animation2D.cpp