SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
Base class for all animation keyframes. More...
#include <SLAnimKeyframe.h>
Public Member Functions | |
SLAnimKeyframe (const SLAnimTrack *parent, SLfloat time) | |
bool | operator< (const SLAnimKeyframe &other) const |
void | time (SLfloat t) |
SLfloat | time () const |
SLbool | isValid () const |
Protected Attributes | |
const SLAnimTrack * | _parentTrack |
owning animation track for this keyframe More... | |
SLfloat | _time |
temporal position in local time relative to the keyframes parent clip in seconds More... | |
SLbool | _isValid |
is this keyframe in use inside its parent track More... | |
Base class for all animation keyframes.
Definition at line 22 of file SLAnimKeyframe.h.
SLAnimKeyframe::SLAnimKeyframe | ( | const SLAnimTrack * | parent, |
SLfloat | time | ||
) |
Constructor for default keyframes.
Definition at line 15 of file SLAnimKeyframe.cpp.
|
inline |
Definition at line 32 of file SLAnimKeyframe.h.
bool SLAnimKeyframe::operator< | ( | const SLAnimKeyframe & | other | ) | const |
Comperator operator.
Definition at line 22 of file SLAnimKeyframe.cpp.
|
inline |
Definition at line 31 of file SLAnimKeyframe.h.
Definition at line 30 of file SLAnimKeyframe.h.
|
protected |
is this keyframe in use inside its parent track
Definition at line 37 of file SLAnimKeyframe.h.
|
protected |
owning animation track for this keyframe
Definition at line 35 of file SLAnimKeyframe.h.
|
protected |
temporal position in local time relative to the keyframes parent clip in seconds
Definition at line 36 of file SLAnimKeyframe.h.