Documentation
Urho3D::AnimationTrack Struct Reference
Skeletal animation track, stores keyframes of a single bone. More...
#include <Animation.h>
Collaboration diagram for Urho3D::AnimationTrack:
Public Member Functions | |
AnimationTrack () | |
Construct. | |
void | SetKeyFrame (unsigned index, const AnimationKeyFrame &command) |
Assign keyframe at index. | |
void | AddKeyFrame (const AnimationKeyFrame &keyFrame) |
Add a keyframe at the end. | |
void | InsertKeyFrame (unsigned index, const AnimationKeyFrame &keyFrame) |
Insert a keyframe at index. | |
void | RemoveKeyFrame (unsigned index) |
Remove a keyframe at index. | |
void | RemoveAllKeyFrames () |
Remove all keyframes. | |
AnimationKeyFrame * | GetKeyFrame (unsigned index) |
Return keyframe at index, or null if not found. | |
unsigned | GetNumKeyFrames () const |
Return number of keyframes. | |
void | GetKeyFrameIndex (float time, unsigned &index) const |
Return keyframe index based on time and previous index. | |
Public Attributes | |
String | name_ |
Bone or scene node name. | |
StringHash | nameHash_ |
Name hash. | |
unsigned char | channelMask_ |
Bitmask of included data (position, rotation, scale.) | |
Vector< AnimationKeyFrame > | keyFrames_ |
Keyframes. | |
Detailed Description
Skeletal animation track, stores keyframes of a single bone.
The documentation for this struct was generated from the following files:
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/Animation.h
- /home/travis/build/urho3d/Urho3D/Source/Urho3D/Graphics/Animation.cpp